Class SyntheticModuleDef
- java.lang.Object
-
- org.apache.tapestry5.http.internal.SyntheticModuleDef
-
- All Implemented Interfaces:
ModuleDef
public class SyntheticModuleDef extends java.lang.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 java.lang.Class
getBuilderClass()
Returns null.java.util.Set<ContributionDef>
getContributionDefs()
Returns the configured set.java.util.Set<DecoratorDef>
getDecoratorDefs()
Returns an empty set.java.lang.String
getLoggerName()
Returns "SyntheticModule".ServiceDef
getServiceDef(java.lang.String serviceId)
Returns null.java.util.Set<java.lang.String>
getServiceIds()
Returns an empty set.
-
-
-
Constructor Detail
-
SyntheticModuleDef
public SyntheticModuleDef(ContributionDef... contributionDefs)
-
-
Method Detail
-
getBuilderClass
public java.lang.Class getBuilderClass()
Returns null.- Specified by:
getBuilderClass
in interfaceModuleDef
-
getContributionDefs
public java.util.Set<ContributionDef> getContributionDefs()
Returns the configured set.- Specified by:
getContributionDefs
in interfaceModuleDef
-
getDecoratorDefs
public java.util.Set<DecoratorDef> getDecoratorDefs()
Returns an empty set.- Specified by:
getDecoratorDefs
in interfaceModuleDef
-
getLoggerName
public java.lang.String getLoggerName()
Returns "SyntheticModule".- Specified by:
getLoggerName
in interfaceModuleDef
-
getServiceDef
public ServiceDef getServiceDef(java.lang.String serviceId)
Returns null.- Specified by:
getServiceDef
in 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 java.util.Set<java.lang.String> getServiceIds()
Returns an empty set.- Specified by:
getServiceIds
in interfaceModuleDef
-
-