Package org.jboss.as.pojo.service
Class LifecyclePojoPhase
- java.lang.Object
-
- org.jboss.as.pojo.service.AbstractPojoPhase
-
- org.jboss.as.pojo.service.LifecyclePojoPhase
-
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<Object>,org.jboss.msc.value.Value<Object>
- Direct Known Subclasses:
CreateDestroyPojoPhase,StartStopPojoPhase
public abstract class LifecyclePojoPhase extends AbstractPojoPhase
POJO lifecycle phase.- Author:
- Ales Justin
-
-
Constructor Summary
Constructors Constructor Description LifecyclePojoPhase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringdefaultDown()protected abstract StringdefaultUp()protected voiddispatchJoinpoint(LifecycleConfig config, String defaultMethod)protected abstract LifecycleConfiggetDownConfig()protected abstract LifecycleConfiggetUpConfig()protected voidstartInternal(org.jboss.msc.service.StartContext context)protected voidstopInternal(org.jboss.msc.service.StopContext context)-
Methods inherited from class org.jboss.as.pojo.service.AbstractPojoPhase
addCallbacks, considerUninstalls, createJoinpoint, createNextPhase, executeInstalls, executeUninstalls, getBean, getBeanConfig, getBeanInfo, getIndex, getLifecycleState, getModule, getValue, registerAliases, removeCallbacks, setBean, setBeanConfig, setBeanInfo, setIndex, setModule, start, stop
-
-
-
-
Method Detail
-
getUpConfig
protected abstract LifecycleConfig getUpConfig()
-
getDownConfig
protected abstract LifecycleConfig getDownConfig()
-
defaultUp
protected abstract String defaultUp()
-
defaultDown
protected abstract String defaultDown()
-
dispatchJoinpoint
protected void dispatchJoinpoint(LifecycleConfig config, String defaultMethod) throws Throwable
- Throws:
Throwable
-
startInternal
protected void startInternal(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Overrides:
startInternalin classAbstractPojoPhase- Throws:
org.jboss.msc.service.StartException
-
stopInternal
protected void stopInternal(org.jboss.msc.service.StopContext context)
- Overrides:
stopInternalin classAbstractPojoPhase
-
-