Rio Project 4.2 API Documentation
org.rioproject.cybernode
Class JSBContextFactory
java.lang.Object
org.rioproject.cybernode.JSBContextFactory
- All Implemented Interfaces:
- ServiceBeanContextFactory
public class JSBContextFactory
- extends Object
- implements ServiceBeanContextFactory
A ServiceBeanContextFactory which creates
a JSBContext
- Author:
- Dennis Reedy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSBContextFactory
public JSBContextFactory()
create
public ServiceBeanContext create(ServiceElement sElem,
ServiceBeanManager serviceBeanManager,
ComputeResource computeResource,
Configuration sharedConfig)
- Description copied from interface:
ServiceBeanContextFactory
- Create an instance of a
ServiceBeanContext
- Specified by:
create in interface ServiceBeanContextFactory
- Parameters:
sElem - The ServiceElementserviceBeanManager - The ServiceBeanManagercomputeResource - The ComputeResource object representing
capabilities of the compute resource the service has been instantiated onsharedConfig - Configuration from the "platform" which will be used
as the shared configuration
- Returns:
- A ServiceBeanContext instance. A new ServiceBeanContext will
be returned each time this method is invoked
- See Also:
ServiceBeanContextFactory.create(org.rioproject.core.ServiceElement, org.rioproject.core.jsb.ServiceBeanManager, org.rioproject.system.ComputeResource, net.jini.config.Configuration)
Copyright © 2006-2011 Rio Project. All Rights Reserved.