|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.tibco.amf.platform.runtime.extension.context.LifeCycleEvent
public class LifeCycleEvent
An event from the Framework describing a component or bundle life cycle change.
Nested Class Summary | |
---|---|
static class |
LifeCycleEvent.Mode
|
static class |
LifeCycleEvent.Scope
|
static class |
LifeCycleEvent.Type
|
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
LifeCycleEvent(BaseContext baseContext,
LifeCycleEvent.Type type)
Creates a life cycle event of the specified type. |
|
LifeCycleEvent(BaseContext baseContext,
LifeCycleEvent.Type type,
java.lang.String adminToken)
Creates a life cycle event of the specified type. |
|
LifeCycleEvent(java.lang.Object source,
LifeCycleEvent.Type type)
Creates a life cycle event of the specified type. |
|
LifeCycleEvent(java.lang.Object source,
LifeCycleEvent.Type type,
LifeCycleEvent.Mode mode,
LifeCycleEvent.Scope scope)
Creates a life cycle event of the specified type, mode and scope. |
|
LifeCycleEvent(java.lang.Object source,
LifeCycleEvent.Type type,
LifeCycleEvent.Mode mode,
LifeCycleEvent.Scope scope,
java.lang.String adminToken)
Creates a life cycle event of the specified type, mode and scope. |
|
LifeCycleEvent(java.lang.Object source,
LifeCycleEvent.Type type,
java.lang.String adminToken)
Creates a life cycle event of the specified type. |
Method Summary | |
---|---|
java.lang.String |
getAdminToken()
Returns the token sent by TIBCO Matrix Administrator, if this life cycle event was triggered by TIBCO Matrix Administrator, null otherwise |
LifeCycleEvent.Mode |
getMode()
Returns the mode of the life cycle event. |
LifeCycleEvent.Scope |
getScope()
Returns the scope of the life cycle event. |
LifeCycleEvent.Type |
getType()
Returns the type of the life cycle event. |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LifeCycleEvent(BaseContext baseContext, LifeCycleEvent.Type type)
Creates a life cycle event of the specified type.
baseContext
- the component/endpoint which had a life cycle changetype
- the life cycle event typepublic LifeCycleEvent(BaseContext baseContext, LifeCycleEvent.Type type, java.lang.String adminToken)
Creates a life cycle event of the specified type.
baseContext
- the component/endpoint which had a life cycle changetype
- the life cycle event typeadminToken
- the token sent by adminpublic LifeCycleEvent(java.lang.Object source, LifeCycleEvent.Type type)
Creates a life cycle event of the specified type.
source
- the origin of the eventtype
- the life cycle event typepublic LifeCycleEvent(java.lang.Object source, LifeCycleEvent.Type type, java.lang.String adminToken)
Creates a life cycle event of the specified type.
source
- the origin of the eventtype
- the life cycle event typeadminToken
- the token sent by adminpublic LifeCycleEvent(java.lang.Object source, LifeCycleEvent.Type type, LifeCycleEvent.Mode mode, LifeCycleEvent.Scope scope)
Creates a life cycle event of the specified type, mode and scope.
source
- the origin of the eventtype
- the life cycle event typemode
- the life cycle event modescope
- the life cycle event scopepublic LifeCycleEvent(java.lang.Object source, LifeCycleEvent.Type type, LifeCycleEvent.Mode mode, LifeCycleEvent.Scope scope, java.lang.String adminToken)
Creates a life cycle event of the specified type, mode and scope.
source
- the origin of the eventtype
- the life cycle event typemode
- the life cycle event modescope
- the life cycle event scopeadminToken
- the token sent by adminMethod Detail |
---|
public LifeCycleEvent.Type getType()
Returns the type of the life cycle event.
public LifeCycleEvent.Scope getScope()
Returns the scope of the life cycle event. Scope is available for LifeCycleEvent.Type.STOP
and LifeCycleEvent.Type.UNINSTALL
life cycle events. For other types, returns null.
public LifeCycleEvent.Mode getMode()
Returns the mode of the life cycle event. Mode is available for LifeCycleEvent.Type.STOP
and LifeCycleEvent.Type.UNINSTALL
life
cycle events. For other types, returns null.
public java.lang.String getAdminToken()
Returns the token sent by TIBCO Matrix Administrator, if this life cycle event was triggered by TIBCO Matrix Administrator, null otherwise
public java.lang.String toString()
toString
in class java.util.EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |