Rio Project 4.2 API Documentation



org.rioproject.cybernode
Class JSBContextFactory

java.lang.Object
  extended by org.rioproject.cybernode.JSBContextFactory
All Implemented Interfaces:
ServiceBeanContextFactory

public class JSBContextFactory
extends Object
implements ServiceBeanContextFactory

A ServiceBeanContextFactory which creates a JSBContext

Author:
Dennis Reedy

Constructor Summary
JSBContextFactory()
           
 
Method Summary
 ServiceBeanContext create(ServiceElement sElem, ServiceBeanManager serviceBeanManager, ComputeResource computeResource, Configuration sharedConfig)
          Create an instance of a ServiceBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSBContextFactory

public JSBContextFactory()
Method Detail

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 ServiceElement
serviceBeanManager - The ServiceBeanManager
computeResource - The ComputeResource object representing capabilities of the compute resource the service has been instantiated on
sharedConfig - 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 © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.