Class SyntheticModuleDef
- java.lang.Object
 - 
- org.apache.tapestry5.http.internal.SyntheticModuleDef
 
 
- 
- All Implemented Interfaces:
 ModuleDef
public class SyntheticModuleDef extends Object implements ModuleDef
A synthetic module definition, used to mix in some additional "pre-built" service configuration contributions. 
- 
- 
Constructor Summary
Constructors Constructor Description SyntheticModuleDef(ContributionDef... contributionDefs) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassgetBuilderClass()Returns null.Set<ContributionDef>getContributionDefs()Returns the configured set.Set<DecoratorDef>getDecoratorDefs()Returns an empty set.StringgetLoggerName()Returns "SyntheticModule".ServiceDefgetServiceDef(String serviceId)Returns null.Set<String>getServiceIds()Returns an empty set. 
 - 
 
- 
- 
Constructor Detail
- 
SyntheticModuleDef
public SyntheticModuleDef(ContributionDef... contributionDefs)
 
 - 
 
- 
Method Detail
- 
getBuilderClass
public Class getBuilderClass()
Returns null.- Specified by:
 getBuilderClassin interfaceModuleDef
 
- 
getContributionDefs
public Set<ContributionDef> getContributionDefs()
Returns the configured set.- Specified by:
 getContributionDefsin interfaceModuleDef
 
- 
getDecoratorDefs
public Set<DecoratorDef> getDecoratorDefs()
Returns an empty set.- Specified by:
 getDecoratorDefsin interfaceModuleDef
 
- 
getLoggerName
public String getLoggerName()
Returns "SyntheticModule".- Specified by:
 getLoggerNamein interfaceModuleDef
 
- 
getServiceDef
public ServiceDef getServiceDef(String serviceId)
Returns null.- Specified by:
 getServiceDefin interfaceModuleDef- Parameters:
 serviceId- the id of the service to retrieve (case is ignored)- Returns:
 - service definition or null if it doesn't exist
 
 
- 
getServiceIds
public Set<String> getServiceIds()
Returns an empty set.- Specified by:
 getServiceIdsin interfaceModuleDef
 
 - 
 
 -