org.apache.tapestry5.internal.spring
Class SpringModuleDef
java.lang.Object
org.apache.tapestry5.internal.spring.SpringModuleDef
- All Implemented Interfaces:
- ModuleDef
public class SpringModuleDef
- extends java.lang.Object
- implements ModuleDef
A wrapper that converts a Spring ApplicationContext into a set of service definitions, compatible with
Tapestry 5 IoC, for the beans defined in the context, as well as the context itself.
|
Constructor Summary |
SpringModuleDef(org.springframework.context.ApplicationContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringModuleDef
public SpringModuleDef(org.springframework.context.ApplicationContext context)
getBuilderClass
public java.lang.Class getBuilderClass()
- Specified by:
getBuilderClass in interface ModuleDef
getContributionDefs
public java.util.Set<ContributionDef> getContributionDefs()
- Returns an empty set.
- Specified by:
getContributionDefs in interface ModuleDef
getDecoratorDefs
public java.util.Set<DecoratorDef> getDecoratorDefs()
- Returns an empty set.
- Specified by:
getDecoratorDefs in interface ModuleDef
getLoggerName
public java.lang.String getLoggerName()
- Specified by:
getLoggerName in interface ModuleDef
getServiceDef
public ServiceDef getServiceDef(java.lang.String serviceId)
- Specified by:
getServiceDef in interface ModuleDef
getServiceIds
public java.util.Set<java.lang.String> getServiceIds()
- Specified by:
getServiceIds in interface ModuleDef
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.