Rio Project 4.2 API Documentation



org.rioproject.jsb
Class JSBLoader

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.rioproject.core.jsb.ServiceBeanFactory
ServiceBeanFactory.Created
 
Constructor Summary
JSBLoader()
           
 
Method Summary
 ServiceBeanFactory.Created create(ServiceBeanContext context)
          The create method is called to create the service implementation and to create the proxy to communicate with the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSBLoader

public JSBLoader()
Method Detail

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:

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 © Rio Project.

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