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
create
ServiceBeanContext create(ServiceElement sElem,
ServiceBeanManager serviceBeanManager,
ComputeResource computeResource,
Configuration sharedConfig)
- Create an instance of a
ServiceBeanContext
- 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
- Throws:
NullPointerException - if the sElem, serviceBeanManager or
computeResource parameters are null
Copyright © 2006-2011 Rio Project. All Rights Reserved.