org.bsf.remoting.rmi
Class ServiceFactoryImpl

java.lang.Object
  |
  +--org.bsf.remoting.rmi.ServiceFactoryImpl
All Implemented Interfaces:
ServiceFactory

public class ServiceFactoryImpl
extends java.lang.Object
implements ServiceFactory


Field Summary
private static javax.naming.Context context
           
private static org.apache.commons.logging.Log log
           
private  java.util.Hashtable services
           
 
Constructor Summary
ServiceFactoryImpl()
           
 
Method Summary
private  java.lang.Object createService(EJBDefinition service)
           
private static javax.naming.Context getContext()
           
 java.lang.Object getService(EJBDefinition service)
          Retrieves a ref on a service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

services

private java.util.Hashtable services

context

private static javax.naming.Context context
Constructor Detail

ServiceFactoryImpl

public ServiceFactoryImpl()
Method Detail

getService

public java.lang.Object getService(EJBDefinition service)
Description copied from interface: ServiceFactory
Retrieves a ref on a service

Specified by:
getService in interface ServiceFactory
Parameters:
service -
Returns:
The reference on the service

createService

private java.lang.Object createService(EJBDefinition service)

getContext

private static javax.naming.Context getContext()