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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
services
private java.util.Hashtable services
context
private static javax.naming.Context context
ServiceFactoryImpl
public ServiceFactoryImpl()
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()