org.apache.servicemix.jbi.event
Class ServiceUnitEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.servicemix.jbi.event.ServiceUnitEvent
All Implemented Interfaces:
Serializable

public class ServiceUnitEvent
extends EventObject

Event sent for service unit lifecycle.

Author:
gnodet
See Also:
Serialized Form

Field Summary
static int UNIT_DEPLOYED
           
static int UNIT_SHUTDOWN
           
static int UNIT_STARTED
           
static int UNIT_STOPPED
           
static int UNIT_UNDEPLOYED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ServiceUnitEvent(ServiceUnitLifeCycle unit, int type)
           
 
Method Summary
 int getEventType()
           
 ServiceUnitLifeCycle getServiceUnit()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNIT_DEPLOYED

public static final int UNIT_DEPLOYED
See Also:
Constant Field Values

UNIT_STARTED

public static final int UNIT_STARTED
See Also:
Constant Field Values

UNIT_STOPPED

public static final int UNIT_STOPPED
See Also:
Constant Field Values

UNIT_SHUTDOWN

public static final int UNIT_SHUTDOWN
See Also:
Constant Field Values

UNIT_UNDEPLOYED

public static final int UNIT_UNDEPLOYED
See Also:
Constant Field Values
Constructor Detail

ServiceUnitEvent

public ServiceUnitEvent(ServiceUnitLifeCycle unit,
                        int type)
Method Detail

getServiceUnit

public ServiceUnitLifeCycle getServiceUnit()

getEventType

public int getEventType()


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.