|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.management.server.AbstractManagedObject
com.caucho.env.deploy.DeployControllerAdmin<C>
public abstract class DeployControllerAdmin<C extends EnvironmentDeployController>
A deploy controller for an environment.
| Constructor Summary | |
|---|---|
DeployControllerAdmin(C controller)
|
|
| Method Summary | |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
|
boolean |
destroy()
|
protected C |
getController()
Returns the controller. |
java.lang.String |
getErrorMessage()
Returns any error message |
java.lang.String |
getId()
|
java.lang.String |
getName()
The JMX name property of the mbean. |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
long |
getRedeployCheckInterval()
Returns the interval between redeploy checks. |
java.lang.String |
getRedeployMode()
Returns the redeploy mode, one of "default", "automatic", "lazy", or "manual". |
java.util.Map<java.lang.String,java.lang.String> |
getRepositoryMetaData()
Returns the repository metadata for the entry. |
java.lang.String |
getRootDirectory()
Returns the root directory |
java.util.Date |
getStartTime()
Returns the time the controller was last started. |
java.lang.String |
getStartupMode()
Returns the startup mode, one of "default", "automatic", "lazy", or "manual". |
java.lang.String |
getState()
Returns the controller's state. |
void |
lifecycleEvent(LifecycleState oldState,
LifecycleState newState)
|
protected void |
register()
|
void |
removeNotificationListener(javax.management.NotificationListener listener)
|
void |
removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
|
void |
restart()
Restarts the instance. |
void |
start()
Starts the controller. |
void |
stop()
Stops the instance. |
java.lang.String |
toString()
|
protected void |
unregister()
|
void |
update()
Restarts the instance if any changes are detected. |
| Methods inherited from class com.caucho.management.server.AbstractManagedObject |
|---|
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getObjectName, getType |
| Constructor Detail |
|---|
public DeployControllerAdmin(C controller)
| Method Detail |
|---|
protected C getController()
protected void register()
protected void unregister()
public java.lang.String getId()
getId in interface DeployControllerMXBeanpublic java.lang.String getName()
AbstractManagedObject
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic java.lang.String getStartupMode()
DeployControllerMXBean
getStartupMode in interface DeployControllerMXBeanpublic java.lang.String getRedeployMode()
DeployControllerMXBean
getRedeployMode in interface DeployControllerMXBeanpublic long getRedeployCheckInterval()
DeployControllerMXBean
getRedeployCheckInterval in interface DeployControllerMXBeanpublic java.lang.String getState()
DeployControllerMXBean
getState in interface DeployControllerMXBeanpublic java.lang.String getErrorMessage()
DeployControllerMXBean
getErrorMessage in interface DeployControllerMXBeanpublic java.util.Date getStartTime()
DeployControllerMXBean
getStartTime in interface DeployControllerMXBeanpublic java.util.Map<java.lang.String,java.lang.String> getRepositoryMetaData()
DeployControllerMXBean
getRepositoryMetaData in interface DeployControllerMXBean
public void start()
throws java.lang.Exception
start in interface DeployControllerMXBeanjava.lang.Exception
public void stop()
throws java.lang.Exception
DeployControllerMXBean
stop in interface DeployControllerMXBeanjava.lang.Exception
public void restart()
throws java.lang.Exception
DeployControllerMXBean
restart in interface DeployControllerMXBeanjava.lang.Exception
public void update()
throws java.lang.Exception
DeployControllerMXBean
update in interface DeployControllerMXBeanjava.lang.Exception
public boolean destroy()
throws java.lang.Exception
destroy in interface DeployControllerMXBeanjava.lang.Exceptionpublic java.lang.String getRootDirectory()
getRootDirectory in interface DeployControllerMXBean
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
addNotificationListener in interface javax.management.NotificationBroadcasterjava.lang.IllegalArgumentException
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationBroadcasterjavax.management.ListenerNotFoundException
public void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationEmitterjavax.management.ListenerNotFoundExceptionpublic javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface javax.management.NotificationBroadcaster
public void lifecycleEvent(LifecycleState oldState,
LifecycleState newState)
lifecycleEvent in interface LifecycleListenerpublic java.lang.String toString()
toString in class AbstractManagedObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||