Rio Project 4.2 API Documentation
org.rioproject.jsb
Class JSBLoader
java.lang.Object
org.rioproject.jsb.JSBLoader
- All Implemented Interfaces:
- ServiceBeanFactory
public class JSBLoader
- extends Object
- implements ServiceBeanFactory
The JSBLoader will load and create a ServiceBean.
- Author:
- Dennis Reedy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSBLoader
public JSBLoader()
create
public ServiceBeanFactory.Created create(ServiceBeanContext context)
throws JSBInstantiationException
- Description copied from interface:
ServiceBeanFactory
- The create method is called to create the service implementation and to
create the proxy to communicate with the service. There is no requirement
to create a class loader, this method will be called with the context
class loader set to the class loader that can be used to load the
service. If needed, the class loader can be obtained by access the
thread's current context class loader.
Additionally:
- If the service has been configured with any shared resources, they
will have been loaded into the common class loader prior to the
invocation of this method.
- If any logger instances have been configured for the service,
specific loggers and handlers will have been configued prior to the
invocation of this method
- Specified by:
create in interface ServiceBeanFactory
- Parameters:
context - The ServiceBeanContext describing the service to
create
- Returns:
- The Created object
- Throws:
JSBInstantiationException - If there are errors creating the
service bean
Copyright © 2006-2011 Rio Project. All Rights Reserved.