Rio Project 4.2 API Documentation



org.rioproject.core.jsb
Interface ServiceBeanContextFactory

All Known Implementing Classes:
JSBContextFactory

public interface ServiceBeanContextFactory

Defines the semantics for a class to produce a ServiceBeanContext

Author:
Dennis Reedy

Method Summary
 ServiceBeanContext create(ServiceElement sElem, ServiceBeanManager serviceBeanManager, ComputeResource computeResource, Configuration sharedConfig)
          Create an instance of a ServiceBeanContext
 

Method Detail

create

ServiceBeanContext create(ServiceElement sElem,
                          ServiceBeanManager serviceBeanManager,
                          ComputeResource computeResource,
                          Configuration sharedConfig)
Create an instance of a ServiceBeanContext

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
Throws:
NullPointerException - if the sElem, serviceBeanManager or computeResource parameters are null

Copyright © Rio Project.

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