public interface Module extends ModuleBuilderSource
| Modifier and Type | Method and Description | 
|---|---|
| void | collectEagerLoadServices(java.util.Collection<EagerLoadServiceProxy> proxies)Locates services with the  EagerLoadannotation and generates proxies
 for them, then adds them to the proxies list for instantiation. | 
| java.util.Set<DecoratorDef> | findMatchingDecoratorDefs(ServiceDef serviceDef)Iterates over any decorator definitions defined by the module and returns those that apply to the provided
 service definition. | 
| java.util.Set<AdvisorDef> | findMatchingServiceAdvisors(ServiceDef serviceDef)Iterates over any advisor definitions defined by the module and returns those that apply to the provided service
 definition. | 
| java.util.Collection<java.lang.String> | findServiceIdsForInterface(java.lang.Class serviceInterface)Locates the ids of all services that implement the provided service interface, or whose service interface is
 assignable to the provided service interface (is a super-class or super-interface). | 
| java.util.Set<ContributionDef2> | getContributorDefsForService(ServiceDef serviceDef)Finds any contributions that are targeted at the indicated service. | 
| java.lang.String | getLoggerName()Returns the name used to obtain a logger for the module. | 
| <T> T | getService(java.lang.String serviceId,
          java.lang.Class<T> serviceInterface)Locates a service given a service id and the corresponding service interface type. | 
| ServiceDef3 | getServiceDef(java.lang.String serviceId)Returns the service definition for the given service id. | 
getModuleBuilder<T> T getService(java.lang.String serviceId, java.lang.Class<T> serviceInterface)
T - serviceId - identifies the service to accessserviceInterface - the interface the service implementsjava.lang.RuntimeException - if there is an error instantiating the service proxyjava.util.Collection<java.lang.String> findServiceIdsForInterface(java.lang.Class serviceInterface)
serviceInterface - the interface to search forjava.util.Set<DecoratorDef> findMatchingDecoratorDefs(ServiceDef serviceDef)
serviceDef - for which decorators are being assembledjava.util.Set<AdvisorDef> findMatchingServiceAdvisors(ServiceDef serviceDef)
serviceDef - for which advisors are being assembledjava.util.Set<ContributionDef2> getContributorDefsForService(ServiceDef serviceDef)
void collectEagerLoadServices(java.util.Collection<EagerLoadServiceProxy> proxies)
EagerLoad annotation and generates proxies
 for them, then adds them to the proxies list for instantiation.proxies - collection of proxies to which any eager load services in the module should be addedServiceDef3 getServiceDef(java.lang.String serviceId)
serviceId - unique id for the service (caseless)java.lang.String getLoggerName()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.