Package wt.change2
Class DefaultChooseLifeCycleDelegate
java.lang.Object
wt.change2.DefaultChooseLifeCycleDelegate
- All Implemented Interfaces:
ChooseLifeCycleDelegate,wt.services.applicationcontext.ApplicationContextChild
public class DefaultChooseLifeCycleDelegate
extends Object
implements ChooseLifeCycleDelegate, wt.services.applicationcontext.ApplicationContextChild
The default delegate for choosing a LifeCycle. This delegate looks in
section 7 of the change2.properties file for the name of the LifeCycle
that a particular type is paired with and returns that LifeCycleTemplate.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionchooseLifeCycle(LifeCycleManaged object) Returns the LifeCycleTemplate for the given object using services.properties.getLifeCycleChoice(LifeCycleManaged object) Returns the LifeCycleTemplate for the given object using services.properties.
-
Method Details
-
chooseLifeCycle
Returns the LifeCycleTemplate for the given object using services.properties.
Supported API: true- Specified by:
chooseLifeCyclein interfaceChooseLifeCycleDelegate- Parameters:
object-- Returns:
- LifeCycleTemplate
- Throws:
WTException
-
getLifeCycleChoice
Returns the LifeCycleTemplate for the given object using services.properties.
Supported API: true- Specified by:
getLifeCycleChoicein interfaceChooseLifeCycleDelegate- Parameters:
object-- Returns:
- String
- Throws:
WTException
-