com.caucho.env.deploy
Class DeployTagItem

java.lang.Object
  extended by com.caucho.env.deploy.DeployTagItem

public class DeployTagItem
extends java.lang.Object

Interface for a service registered with the Resin Server.


Constructor Summary
DeployTagItem(java.lang.String tag)
           
 
Method Summary
 void addActionHandler(DeployActionHandler handler)
           
 void addNotificationListener(DeployNotificationListener listener)
           
 java.lang.Throwable getDeployException()
          Returns the deployment exception
 java.lang.String getState()
          Returns the lifecycle state of the item.
 java.lang.String getTag()
          Returns the tag name.
 void onStart()
           
 void onStop()
           
 void removeActionHandler(DeployActionHandler handler)
           
 void removeNotificationListener(DeployNotificationListener listener)
           
 void toError(java.lang.Throwable exn)
          Change the state to an error state.
 void toRestart()
           
 void toStart()
          Change the state to an active state.
 void toStop()
          Change the state to the stopped state.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployTagItem

public DeployTagItem(java.lang.String tag)
Method Detail

getTag

public java.lang.String getTag()
Returns the tag name.


toStart

public void toStart()
Change the state to an active state.


toStop

public void toStop()
Change the state to the stopped state.


toRestart

public void toRestart()

onStart

public void onStart()

onStop

public void onStop()

getState

public java.lang.String getState()
Returns the lifecycle state of the item.


toError

public void toError(java.lang.Throwable exn)
Change the state to an error state.


getDeployException

public java.lang.Throwable getDeployException()
Returns the deployment exception


addNotificationListener

public void addNotificationListener(DeployNotificationListener listener)

removeNotificationListener

public void removeNotificationListener(DeployNotificationListener listener)

addActionHandler

public void addActionHandler(DeployActionHandler handler)

removeActionHandler

public void removeActionHandler(DeployActionHandler handler)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object