当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
LifecycleInvoker - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.jems.as.system
Class LifecycleInvoker
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.portal.jems.as.system.AbstractJBossService
org.jboss.portal.jems.as.system.LifecycleInvoker
- All Implemented Interfaces:
- javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class LifecycleInvoker
- extends AbstractJBossService
A jmx method invoker based on the lifecycle.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Field Summary |
private java.lang.String |
onCreate
. |
private java.lang.String |
onDestroy
. |
private java.lang.String |
onStart
. |
private java.lang.String |
onStop
. |
private javax.management.ObjectName |
target
. |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private javax.management.ObjectName target
- .
onCreate
private java.lang.String onCreate
- .
onStart
private java.lang.String onStart
- .
onStop
private java.lang.String onStop
- .
onDestroy
private java.lang.String onDestroy
- .
LifecycleInvoker
public LifecycleInvoker()
getTarget
public javax.management.ObjectName getTarget()
setTarget
public void setTarget(javax.management.ObjectName target)
getOnCreate
public java.lang.String getOnCreate()
setOnCreate
public void setOnCreate(java.lang.String onCreate)
getOnStart
public java.lang.String getOnStart()
setOnStart
public void setOnStart(java.lang.String onStart)
getOnStop
public java.lang.String getOnStop()
setOnStop
public void setOnStop(java.lang.String onStop)
getOnDestroy
public java.lang.String getOnDestroy()
setOnDestroy
public void setOnDestroy(java.lang.String onDestroy)
invoke
private void invoke(java.lang.String methodName)
createService
protected void createService()
throws java.lang.Exception
- Throws:
java.lang.Exception
startService
protected void startService()
throws java.lang.Exception
- Throws:
java.lang.Exception
stopService
protected void stopService()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyService
protected void destroyService()
throws java.lang.Exception
- Throws:
java.lang.Exception