|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceBeanContext
Specifies the semantics for retrieving the context of a ServiceBean. A ServiceBeanContext provides a ServiceBean with necessary context required to obtain information about it's environment, attributes, ServiceBeanManager and ComputeResourceManager
| Method Summary | |
|---|---|
void |
addAttribute(Entry attribute)
Add an attribute to the collection of attributes used to describe the ServiceBean. |
AssociationManagement |
getAssociationManagement()
Get the AssociationManagement object for the ServiceBean |
ComponentLoader |
getComponentLoader()
Get the ComponentLoader for the ServiceBean. |
ComputeResourceManager |
getComputeResourceManager()
The ComputeResourceManager provides a mechanism for the ServiceBean to obtain the ComputeResource object and acquire information about the environment and attributes of the ComputeResource |
Configuration |
getConfiguration()
Get the ServiceBean Configuration object |
DiscoveryManagement |
getDiscoveryManagement()
Get the DiscoveryManagement object based on declared discovery attributes |
String |
getExportCodebase()
Get the export codebase used to load ServiceBean download JARs |
Object |
getInitParameter(String name)
Returns an Object containing the value of the named
initialization parameter, or null if the parameter does not exist. |
Iterable<String> |
getInitParameterNames()
Get the names (keys) for all initialization parameters |
ServiceBeanConfig |
getServiceBeanConfig()
Get the ServiceBeanConfig for the ServiceBean |
ServiceBeanManager |
getServiceBeanManager()
The ServiceBeanManager provides a mechanism for the ServiceBean to obtain a DiscardManager, request it's ServiceElement be updated to OperationalStringManager instance(s) and obtain system resources |
ServiceElement |
getServiceElement()
Get the ServiceElement for the ServiceBean |
WatchRegistry |
getWatchRegistry()
Get the WatchRegistry for the ServiceBean. |
void |
registerEventHandler(EventDescriptor descriptor,
EventHandler handler)
Register an event handler. |
| Method Detail |
|---|
String getExportCodebase()
URLServiceBeanManager getServiceBeanManager()
ServiceBeanManager for the
ServiceBeanComputeResourceManager getComputeResourceManager()
ComputeResourceManager for the
ServiceBean
Configuration getConfiguration()
throws ConfigurationException
Configuration object
Configuration object for
a ServiceBean. A new Configuration object will
be returned each time this method is invoked
ConfigurationException - if there are problems creating the
ConfigurationObject getInitParameter(String name)
Object containing the value of the named
initialization parameter, or null if the parameter does not exist.
name - A String containing the name of the parameter
whose value is requested
Object corresponding to the value of the
parameter requested, or null if the parameter does not exist.Iterable<String> getInitParameterNames()
Iterator of the names of the ServiceBean's
initialization parameters, or an empty Iterator
if the ServiceBean has no initialization parameters.
A new Iterator is returned each time this method is
calledServiceElement getServiceElement()
ServiceElement objectServiceBeanConfig getServiceBeanConfig()
ServiceBeanConfig object
DiscoveryManagement getDiscoveryManagement()
throws IOException
DiscoveryManagement object for the
ServiceBean
IOException - If there are problems acquiring a
DiscoveryManagement instanceComponentLoader getComponentLoader()
ComponentLoader for the ServiceBean. The
ComponentLoader provides a mechanism for the ServiceBean to load classes
and resources (such as native libraries) making them (and the resources it
uses) available to all services
AssociationManagement getAssociationManagement()
AssociationManagement object for the
ServiceBean
void registerEventHandler(EventDescriptor descriptor,
EventHandler handler)
descriptor - The EventDescriptor for the eventhandler - The associated EventHandlervoid addAttribute(Entry attribute)
attribute - Entry to addWatchRegistry getWatchRegistry()
WatchRegistry for the ServiceBean.
WatchRegistry object for the
ServiceBean
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||