Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.ioc.internal » [javadoc | source]
org.apache.tapestry5.ioc.internal
public interface: InternalRegistry [javadoc | source]

All Implemented Interfaces:
    OperationTracker, Registry, RegistryShutdownHub

All Known Implementing Classes:
    RegistryImpl

Internal view of the module registry, adding additional methods needed by modules.
Method from org.apache.tapestry5.ioc.internal.InternalRegistry Summary:
expandSymbols,   findDecoratorsForService,   getMappedConfiguration,   getObject,   getOrderedConfiguration,   getServiceLifecycle,   getServiceLogger,   getUnorderedConfiguration,   newClass
Method from org.apache.tapestry5.ioc.internal.InternalRegistry Detail:
 public String expandSymbols(String input)
    Given an input string that may contain symbols, returns the string with any and all symbols fully expanded.
 public List<ServiceDecorator> findDecoratorsForService(ServiceDef serviceDef)
 public Map<K, V> getMappedConfiguration(ServiceDef serviceDef,
    Class<K> keyType,
    Class<V> valueType)
    Builds up a map of key/value pairs by invoking service contribution methods that tharget the service (from any module, unless the service is private). Values and keys may not be null. Invalid values (keys or values that are the wrong type, or duplicate keys) result in warnings and are ignored.
 public T getObject(Class<T> objectType,
    AnnotationProvider annotationProvider,
    Module localModule)
 public List<T> getOrderedConfiguration(ServiceDef serviceDef,
    Class<T> valueType)
    Builds up an ordered collection by invoking service contributor methods that target the service (from any module, unless the service is private). Once all values have been added (each with an id, and pre/post constraints), the values are ordered, null values dropped, and the final sorted list is returned.
 public ServiceLifecycle getServiceLifecycle(String scope)
    Returns a service lifecycle by service scope name.
 public Logger getServiceLogger(String serviceId)
    Returns a logger for the service, which consists of the Module's log name suffixed with a period and the service id.
 public Collection<T> getUnorderedConfiguration(ServiceDef serviceDef,
    Class<T> valueType)
    Builds up an unordered collection by invoking service contributor methods that target the service (from any module, unless the service is private).
 public ClassFab newClass(Class serviceInterface)