|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ogf.graap.wsag.server.monitoring.MonitoringContext
public class MonitoringContext
MonitoringContext
| Field Summary |
|---|
| Fields inherited from interface org.ogf.graap.wsag.server.monitoring.IMonitoringContext |
|---|
WSAG4J_AGREEMENT_EXECUTION_CONTEXT |
| Constructor Summary | |
|---|---|
MonitoringContext()
|
|
| Method Summary | |
|---|---|
void |
addMonitoringHandler(IServiceTermMonitoringHandler handler)
Adds a service term monitoring handler to this context. |
void |
addServiceTemState(ServiceTermStateType state)
Adds a new service term state to the state monitor. |
void |
addServiceTemState(String name)
Adds a new service term state with the given name to the state monitor. |
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)
Returns the service term state with the given name, or null if no term state with this name is registered. |
ServiceTermStateType[] |
getServiceTermStates()
Returns an array of the registered service term states |
Map<String,Object> |
getTransientProperties()
|
void |
removeMonitoringHandler(IServiceTermMonitoringHandler handler)
Removes a service term monitoring handler from this context. |
void |
removeServiceTemState(ServiceTermStateType state)
Removes a service term state from the state monitor. |
void |
setAccountingSystem(IAccountingSystem accountingSystem)
Sets the accounting system. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitoringContext()
| Method Detail |
|---|
public void addServiceTemState(String name)
addServiceTemState in interface IMonitoringContextname - the name of the state the state to addpublic void addServiceTemState(ServiceTermStateType state)
addServiceTemState in interface IMonitoringContextstate - the state to addpublic ServiceTermStateType[] getServiceTermStates()
getServiceTermStates in interface IMonitoringContextpublic void removeServiceTemState(ServiceTermStateType state)
state - the state to removepublic void setServiceTemState(ServiceTermStateType[] states)
setServiceTemState in interface IMonitoringContextstates - the state array to setIMonitoringContext.setServiceTemState(ServiceTermStateType[])public ServiceTermStateType getServiceTermStateByName(String name)
getServiceTermStateByName in interface IMonitoringContextname - the name of the service term state
public Map<String,org.apache.xmlbeans.XmlObject> getProperties()
getProperties in interface IMonitoringContextIMonitoringContext.getProperties()public void setProperties(Map<String,org.apache.xmlbeans.XmlObject> properties)
setProperties in interface IMonitoringContextproperties - the monitoring properties to setIMonitoringContext.setProperties(java.util.Map)public Map<String,Object> getTransientProperties()
getTransientProperties in interface IMonitoringContextIMonitoringContext.getTransientProperties()public void setTransientProperties(Map<String,Object> properties)
setTransientProperties in interface IMonitoringContextproperties - the monitoring transient properties to setIMonitoringContext.setTransientProperties(java.util.Map)public void addMonitoringHandler(IServiceTermMonitoringHandler handler)
addMonitoringHandler in interface IMonitoringContexthandler - the handler to addIMonitoringContext.addMonitoringHandler(IServiceTermMonitoringHandler)public IServiceTermMonitoringHandler[] getMonitoringHandler()
getMonitoringHandler in interface IMonitoringContextIMonitoringContext.getMonitoringHandler()public void removeMonitoringHandler(IServiceTermMonitoringHandler handler)
removeMonitoringHandler in interface IMonitoringContexthandler - the handler to removeIMonitoringContext.removeMonitoringHandler(IServiceTermMonitoringHandler)public void setMonitoringHandler(IServiceTermMonitoringHandler[] handler)
setMonitoringHandler in interface IMonitoringContexthandler - the handlers to setIMonitoringContext.setMonitoringHandler(IServiceTermMonitoringHandler[])public Object clone()
clone in interface IMonitoringContextclone in class ObjectHashMap.clone()public void setAccountingSystem(IAccountingSystem accountingSystem)
setAccountingSystem in interface IMonitoringContextaccountingSystem - the accountingSystem to setpublic IAccountingSystem getAccountingSystem()
IMonitoringContext
getAccountingSystem in interface IMonitoringContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||