| java.lang.Object org.apache.tapestry.ioc.internal.RegistryImpl
Inner Class :final public static class OrderedConfigurationToOrdererAdaptor implements OrderedConfiguration<T> | |
LOG_SOURCE_SERVICE_ID | final static String LOG_SOURCE_SERVICE_ID(Code) | | |
THREAD_CLEANUP_HUB_SERVICE_ID | final static String THREAD_CLEANUP_HUB_SERVICE_ID(Code) | | |
RegistryImpl | public RegistryImpl(Collection<ModuleDef> moduleDefs, ClassFactory classFactory, LogSource logSource)(Code) | | Constructs the registry from a set of module definitions and other resources.
Parameters: moduleDefs - defines the modules (and builders, decorators, etc., within) Parameters: classFactory - TODO Parameters: logSource - used to obtain Log instances |
cleanupThread | public void cleanupThread()(Code) | | |
eagerLoadServices | public void eagerLoadServices()(Code) | | It's not unreasonable for an eagerly-loaded service to decide to start a thread, at which
point we raise issues about improper publishing of the Registry instance from the
RegistryImpl constructor. Moving eager loading of services out to its own method should
ensure thread safety.
|
getService | public T getService(String serviceId, Class<T> serviceInterface)(Code) | | Internal access, usually from another module.
|
getService | public T getService(Class<T> serviceInterface)(Code) | | |
logForService | public Log logForService(String serviceId)(Code) | | |
shutdown | public synchronized void shutdown()(Code) | | |
|
|