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

All Known Implementing Classes:
    DefaultModuleDefImpl, SpringModuleDef, SyntheticModuleDef

Defines the contents of a module. In the default case, this is information about the services provided by the module builder class.
Method from org.apache.tapestry5.ioc.def.ModuleDef Summary:
getBuilderClass,   getContributionDefs,   getDecoratorDefs,   getLoggerName,   getServiceDef,   getServiceIds
Method from org.apache.tapestry5.ioc.def.ModuleDef Detail:
 public Class getBuilderClass()
    Returns the class that will be instantiated. Annotated instance methods of this class are invoked to build services, to decorate/intercept services, and make contributions to other services.
 public Set<ContributionDef> getContributionDefs()
    Returns all the contribution definitions built/provided by this module.
 public Set<DecoratorDef> getDecoratorDefs()
    Returns all the decorator definitions built/provided by this module.
 public String getLoggerName()
    Returns the name used to create a Logger instance. This is typically the builder class name.
 public ServiceDef getServiceDef(String serviceId)
    Returns a service definition via the service's id.
 public Set<String> getServiceIds()
    Returns the ids of the services built/provided by the module.