/** * Load the Web application. This will create, configure and initiate * the web application. */ public void load() { webComponent.load(); }
/** * Load the Web application. This will create, configure and initiate * the web application. */ public void load() { webComponent.load(); }
/** * Load the Web application. This will create, configure and initiate * the web application. */ public void load() { webComponent.load(); }
/** * Initiate the Web component. * * @param webConfig the Web configuration. * @throws javax.servlet.ServletException in case of any initialization error */ public void init(WebConfig webConfig) throws ServletException { config = webConfig; if (resourceConfig == null) resourceConfig = createResourceConfig(config); load(); Object o = resourceConfig.getProperties().get( ResourceConfig.PROPERTY_CONTAINER_NOTIFIER); if (o instanceof List) { List list = (List) o; for (Object elem : list) { if (elem instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) elem; crf.addListener(this); } } } else if (o instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) o; crf.addListener(this); } }
/** * Initiate the Web component. * * @param webConfig the Web configuration. * @throws javax.servlet.ServletException in case of any initialization error */ public void init(WebConfig webConfig) throws ServletException { config = webConfig; if (resourceConfig == null) resourceConfig = createResourceConfig(config); load(); Object o = resourceConfig.getProperties().get( ResourceConfig.PROPERTY_CONTAINER_NOTIFIER); if (o instanceof List) { List list = (List) o; for (Object elem : list) { if (elem instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) elem; crf.addListener(this); } } } else if (o instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) o; crf.addListener(this); } }
/** * Initiate the Web component. * * @param webConfig the Web configuration. * @throws javax.servlet.ServletException in case of any initialization error */ public void init(WebConfig webConfig) throws ServletException { config = webConfig; if (resourceConfig == null) resourceConfig = createResourceConfig(config); load(); Object o = resourceConfig.getProperties().get( ResourceConfig.PROPERTY_CONTAINER_NOTIFIER); if (o instanceof List) { List list = (List) o; for (Object elem : list) { if (elem instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) elem; crf.addListener(this); } } } else if (o instanceof ContainerNotifier) { ContainerNotifier crf = (ContainerNotifier) o; crf.addListener(this); } }