|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.server.kernel.LifeCycleMethod
org.jboss.portal.server.kernel.UpgradeMethod
org.jboss.portal.server.kernel.CreateMethod
public class CreateMethod
Field Summary |
---|
Fields inherited from class org.jboss.portal.server.kernel.LifeCycleMethod |
---|
kernel |
Constructor Summary | |
---|---|
CreateMethod(Kernel kernel)
|
Method Summary | |
---|---|
protected void |
checkState(org.jboss.portal.server.kernel.Entry entry)
Precheck the state of the service. |
protected boolean |
doesDependantPreventsInvoke(org.jboss.portal.server.kernel.Entry entry)
Check that a service which the current service depends on is in the good state |
protected void |
invokeMethod(org.jboss.portal.server.kernel.Entry entry)
Apply the lifecycle method and do the transition as well. |
protected void |
invokeMethodOnDependsOnMe(org.jboss.portal.server.kernel.Entry entry)
Apply the lifecycle method on one of the service that depends on the current service |
Methods inherited from class org.jboss.portal.server.kernel.UpgradeMethod |
---|
invoke |
Methods inherited from class org.jboss.portal.server.kernel.LifeCycleMethod |
---|
invokeOnDependsOnMe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateMethod(Kernel kernel)
Method Detail |
---|
protected void checkState(org.jboss.portal.server.kernel.Entry entry) throws TransitionNotPossibleException
LifeCycleMethod
checkState
in class LifeCycleMethod
TransitionNotPossibleException
- if the transition is not possibleprotected boolean doesDependantPreventsInvoke(org.jboss.portal.server.kernel.Entry entry)
UpgradeMethod
doesDependantPreventsInvoke
in class UpgradeMethod
protected void invokeMethod(org.jboss.portal.server.kernel.Entry entry) throws java.lang.Exception
LifeCycleMethod
invokeMethod
in class LifeCycleMethod
java.lang.Exception
- the possible wrapper runtime exceptionprotected void invokeMethodOnDependsOnMe(org.jboss.portal.server.kernel.Entry entry) throws KernelException
LifeCycleMethod
invokeMethodOnDependsOnMe
in class LifeCycleMethod
KernelException
- thrown by the recursive call
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |