FileDocCategorySizeDatePackage
DeploymentEvent.javaAPI DocGlassfish v2 API3425Fri May 04 22:34:30 BST 2007com.sun.enterprise.deployment.backend

DeploymentEvent

public class DeploymentEvent extends EventObject
A DeploymentEvent event gets delivered whenever a DeploymentEventListener registers itself with the DeploymentEventManager.
author
Marina Vatkina

Fields Summary
public static final int
UNKNOWN
public static final int
PRE_DEPLOY
public static final int
POST_DEPLOY
public static final int
PRE_UNDEPLOY
public static final int
POST_UNDEPLOY
private int
eventType
Event type
Constructors Summary
public DeploymentEvent(int eventType, DeploymentEventInfo info)
Constructs DeploymentEvent from an event type and a DeploymentEventInfo instance.

param
eventType as one of the valid Event types.
param
info the DeploymentEventInfo instance to be used for this event.


                                        
         
        super(info);
        this.eventType = eventType;
    
Methods Summary
public DeploymentEventInfogetEventInfo()
Returns event info of this event.

return
event info of this event.

        return (DeploymentEventInfo)getSource();
    
public intgetEventType()
Returns event type of this event.

return
event type of this event.

        return eventType;