/** * Returns the module installed with the specified location, or null if no * such module is installed. * @param location the location of the module * @return the module with the specified location, or null of no such module is installed. */ public Module getModule(String location) { return moduleDatabase.getModule(location); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
/** * Returns the module installed with the specified location, or null if no * such module is installed. * @param location the location of the module * @return the module with the specified location, or null of no such module is installed. */ public Module getModule(String location) { return moduleDatabase.getModule(location); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
/** * Returns the module installed with the specified location, or null if no * such module is installed. * @param location the location of the module * @return the module with the specified location, or null of no such module is installed. */ public Module getModule(String location) { return moduleDatabase.getModule(location); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
/** * Returns the module installed with the specified location, or null if no * such module is installed. * @param location the location of the module * @return the module with the specified location, or null of no such module is installed. */ public Module getModule(String location) { return moduleDatabase.getModule(location); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
/** * Returns the module installed with the specified id, or null if no * such module is installed. * @param id the id of the module * @return the module with the specified id, or null of no such module is installed. */ public Module getModule(long id) { return moduleDatabase.getModule(id); }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
private void setSystemLastModified(long currentTime) { // sanity check checkWrite(); Module systemModule = getModule(0); if (systemModule != null) { systemModule.setlastModified(currentTime); } }
private void setSystemLastModified(long currentTime) { // sanity check checkWrite(); Module systemModule = getModule(0); if (systemModule != null) { systemModule.setlastModified(currentTime); } }
private void setSystemLastModified(long currentTime) { // sanity check checkWrite(); Module systemModule = getModule(0); if (systemModule != null) { systemModule.setlastModified(currentTime); } }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
@Override public void dispatchEvent(ContainerWiring eventListener, FrameworkListener[] frameworkListeners, int eventAction, Collection<Module> eventObject) { try { refresh(eventObject); } finally { adaptor.publishContainerEvent(ContainerEvent.REFRESH, moduleDatabase.getModule(0), null, frameworkListeners); } }
private void setSystemLastModified(long currentTime) { // sanity check checkWrite(); Module systemModule = getModule(0); if (systemModule != null) { systemModule.setlastModified(currentTime); } }