/** * Select this module if it meets punch-in criteria. At this point of implementation, the criteria is * very simple. It checks to see if the module's state is greater than equal to what is configured in * {@link #punchInModuleState}. * * @param m * @return */ private boolean select(Module m) { ModuleState state = m.getState(); return state.compareTo(punchInModuleState) >= 0 && state != ModuleState.ERROR; }
/** * Returns a string representation * @return a printable string about myself */ public String toString() { return "Module Dependency : " + getName() + ":" + getVersion(); } }
/** * Gets the metadata of this module. */ public ModuleMetadata getMetadata() { return moduleDef.getMetadata(); }
/** * Print a Registry dump to the logger * @param logger the logger to dump on */ public void print(Logger logger) { logger.info("Modules Registry information : " + modules.size() + " modules"); for (Module module : modules.values()) { logger.info(module.getModuleDefinition().getName()); } }
public String getName() { return md.getName(); }
public List<URL> getDescriptors(String serviceName) { return getEntry(serviceName).resources; }
public ResolveError(String s, Throwable t) { super(s); initCause(t); }
private void disableMonitoringForProbeProviders() { //Cannot do a whole lot here. The providers that are registered will remain registered. //Just disable the StatsProviders, so you remove the listening overhead registry.unregister(this); }
public String getName() { return moduleDef.getName(); }
/** * Gets the metadata of this module. */ public ModuleMetadata getMetadata() { return moduleDef.getMetadata(); }
/** * Returns a string representation * @return a printable string about myself */ public String toString() { return "Module Dependency : " + getName() + ":" + getVersion(); } }
public List<URL> getDescriptors(String serviceName) { return getEntry(serviceName).resources; }
public ResolveError(String s, Throwable t) { super(s); initCause(t); }
public String getName() { return moduleDef.getName(); }
public ModuleMetadata getMetadata() { return md.getMetadata(); }
public String getName() { return moduleDef.getName(); }
public ModuleMetadata getMetadata() { return moduleDef.getMetadata(); }
public ModuleMetadata getMetadata() { return moduleDef.getMetadata(); }
public ModuleMetadata getMetadata() { return md.getMetadata(); }