org.jboss.portal.server.kernel
Class UpgradeMethod
java.lang.Object
org.jboss.portal.server.kernel.LifeCycleMethod
org.jboss.portal.server.kernel.UpgradeMethod
- Direct Known Subclasses:
- CreateMethod, StartMethod
- public abstract class UpgradeMethod
- extends LifeCycleMethod
- Version:
- $Revision: 1.2 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeMethod
protected UpgradeMethod(Kernel kernel)
invoke
public State invoke(Entry entry)
throws TransitionNotPossibleException,
ServiceFailureException
- Specified by:
invoke
in class LifeCycleMethod
- Throws:
TransitionNotPossibleException
ServiceFailureException
doesDependantPreventsInvoke
protected abstract boolean doesDependantPreventsInvoke(Entry entry)
- Check that a service which the current service depends on is in the good state
- Returns:
- true if the service state it depends on prevent from invoking the method
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.