Package org.apache.tapestry5.ioc.def
Interface ModuleDef2
-
- All Superinterfaces:
ModuleDef
- All Known Implementing Classes:
DefaultModuleDefImpl
public interface ModuleDef2 extends ModuleDef
Extended version ofModuleDef
introduced in Tapestry 5.1 to allow for service advisors (an improvement on service decorators).- Since:
- 5.1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<AdvisorDef>
getAdvisorDefs()
Returns all the service advisor definitions built/provided by this module.java.util.Set<StartupDef>
getStartups()
Methods marked with @Startup are converted into Runnable instances and assigned here.-
Methods inherited from interface org.apache.tapestry5.ioc.def.ModuleDef
getBuilderClass, getContributionDefs, getDecoratorDefs, getLoggerName, getServiceDef, getServiceIds
-
-
-
-
Method Detail
-
getAdvisorDefs
java.util.Set<AdvisorDef> getAdvisorDefs()
Returns all the service advisor definitions built/provided by this module.
-
getStartups
@IncompatibleChange(release="5.4", details="StartupDef replaces the artificial ContributionDef created for @Startup methods.") java.util.Set<StartupDef> getStartups()
Methods marked with @Startup are converted into Runnable instances and assigned here.- Since:
- 5.4
-
-