|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceBeanDelegate
Defines the semantics of a class that the Cybernode delegates management of created service instances
| Method Summary | |
|---|---|
void |
advertise()
Advertise the ServiceBean, making it available to all clients |
ComputeResourceUtilization |
getComputeResourceUtilization()
Get the ComputeResourceUtilization |
ServiceBeanInstance |
getServiceBeanInstance()
Get the ServiceBeanInstance |
ServiceElement |
getServiceElement()
Get the ServiceElement |
ServiceRecord |
getServiceRecord()
Get the ServiceRecord |
ServiceBeanInstance |
load()
Loads and starts a service, blocking until the service has been started |
void |
setEventHandler(EventHandler slaEventHandler)
Set the EventHandler |
void |
setOperationalStringManager(OperationalStringManager opStringMgr)
Set the OperationalStringManager |
void |
setServiceElement(ServiceElement sElem)
Set the ServiceElement |
void |
terminate()
Terminate the ServiceBeanDelegate and the represented service |
boolean |
update(ServiceElement newElem,
OperationalStringManager opMgr)
|
| Method Detail |
|---|
void setOperationalStringManager(OperationalStringManager opStringMgr)
opStringMgr - The OperationalStringManager
that has deployed and is managing the servicevoid setServiceElement(ServiceElement sElem)
sElem - The ServiceElement detailing
the service and it's propertiesvoid setEventHandler(EventHandler slaEventHandler)
slaEventHandler - The EventHandler which is used to send
SLAThresholdEvent notifications for
SLAs that have been declared
by the service which match quantitative resources the Cybernode has
createdServiceRecord getServiceRecord()
ServiceElement getServiceElement()
ServiceBeanInstance load()
throws JSBInstantiationException
JSBInstantiationException - if there are erros loading the service
beanServiceBeanInstance getServiceBeanInstance()
void advertise()
throws JSBControlException
JSBControlException - if the service bean cannot be advertised
boolean update(ServiceElement newElem,
OperationalStringManager opMgr)
ComputeResourceUtilization getComputeResourceUtilization()
void terminate()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||