org.jboss.system.server.profileservice.repository
Class AbstractProfileLifeCycleAction
java.lang.Object
org.jboss.system.server.profileservice.repository.AbstractProfileAction
org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction
- Direct Known Subclasses:
- ProfileCreateAction, ProfileStartAction
public abstract class AbstractProfileLifeCycleAction
- extends AbstractProfileAction
A abstract profile lifecycle action.
TODO use jboss-reflect for this.
- Version:
- $Revision: 87161 $
- Author:
- Emanuel Muckenhuber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProfileLifeCycleAction
public AbstractProfileLifeCycleAction()
getInstallMethod
protected abstract String getInstallMethod()
getUninstallMethod
protected abstract String getUninstallMethod()
install
public void install(org.jboss.profileservice.spi.Profile profile)
throws Exception
- Specified by:
install
in class AbstractProfileAction
- Throws:
Exception
uninstall
public void uninstall(org.jboss.profileservice.spi.Profile profile)
- Specified by:
uninstall
in class AbstractProfileAction
invoke
protected static void invoke(org.jboss.profileservice.spi.Profile profile,
String method)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.