|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMonitoringContext
IMonitoringContext The monitoring context holds the current service term states of the monitoring process. It is used by the @see ServiceTermStateMonitor to update the service term states, and by the @see AgreementMonitor to retrieve the actual service term states.
| Field Summary | |
|---|---|
static String |
WSAG4J_AGREEMENT_EXECUTION_CONTEXT
Key to look up the IAgreementContext from the transient monitoring properties. |
| Method Summary | |
|---|---|
void |
addMonitoringHandler(IServiceTermMonitoringHandler handler)
Adds a service term monitoring handler to this context. |
void |
addServiceTemState(ServiceTermStateType state)
Adds the given service term state for monitoring to the context. |
void |
addServiceTemState(String name)
Adds a new service term state with the given name for monitoring to the context. |
Object |
clone()
Creates and returns a copy of this object. |
IAccountingSystem |
getAccountingSystem()
Retrieves the accounting system that is used with this monitoring context. |
IServiceTermMonitoringHandler[] |
getMonitoringHandler()
Gets all service term monitoring handler for this context. |
Map<String,org.apache.xmlbeans.XmlObject> |
getProperties()
|
ServiceTermStateType |
getServiceTermStateByName(String name)
Retrieves a ServiceTermState identified by the given name. |
ServiceTermStateType[] |
getServiceTermStates()
Retrieves all ServiceTermStates monitored in this context. |
Map<String,Object> |
getTransientProperties()
|
void |
removeMonitoringHandler(IServiceTermMonitoringHandler handler)
Removes a service term monitoring handler from this context. |
void |
setAccountingSystem(IAccountingSystem system)
Sets the accounting system that is used with this monitoring context. |
void |
setMonitoringHandler(IServiceTermMonitoringHandler[] handler)
Sets the service term monitoring handler for this context. |
void |
setProperties(Map<String,org.apache.xmlbeans.XmlObject> properties)
|
void |
setServiceTemState(ServiceTermStateType[] states)
Adds the given service term state for monitoring to the context. |
void |
setTransientProperties(Map<String,Object> properties)
|
| Field Detail |
|---|
static final String WSAG4J_AGREEMENT_EXECUTION_CONTEXT
IAgreementContext from the transient monitoring properties.
getTransientProperties(),
Constant Field Values| Method Detail |
|---|
Map<String,org.apache.xmlbeans.XmlObject> getProperties()
void setProperties(Map<String,org.apache.xmlbeans.XmlObject> properties)
properties - the monitoring properties to setMap<String,Object> getTransientProperties()
void setTransientProperties(Map<String,Object> properties)
properties - the monitoring transient properties to setvoid addServiceTemState(ServiceTermStateType state)
state - the state to addvoid addServiceTemState(String name)
name - the name of the service term stateServiceTermStateType[] getServiceTermStates()
ServiceTermStateType getServiceTermStateByName(String name)
name - the name of the ServiceTerm
void setServiceTemState(ServiceTermStateType[] states)
states - the state array to setvoid addMonitoringHandler(IServiceTermMonitoringHandler handler)
handler - the handler to addvoid setMonitoringHandler(IServiceTermMonitoringHandler[] handler)
handler - the handlers to setvoid removeMonitoringHandler(IServiceTermMonitoringHandler handler)
handler - the handler to removeIServiceTermMonitoringHandler[] getMonitoringHandler()
Object clone()
throws CloneNotSupportedException
CloneNotSupportedException - indicates that the implementation does not support cloningvoid setAccountingSystem(IAccountingSystem system)
system - the accounting system to setIAccountingSystem getAccountingSystem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||