org.apache.tomee.common
Class EjbFactory

java.lang.Object
  extended by org.apache.tomee.common.AbstractObjectFactory
      extended by org.apache.tomee.common.EjbFactory
All Implemented Interfaces:
ObjectFactory

public class EjbFactory
extends AbstractObjectFactory


Constructor Summary
EjbFactory()
           
 
Method Summary
protected  String buildJndiName(Reference reference)
           
 Object getObjectInstance(Object object, Name name, Context context, Hashtable environment)
           
 
Methods inherited from class org.apache.tomee.common.AbstractObjectFactory
getContext, lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbFactory

public EjbFactory()
Method Detail

getObjectInstance

public Object getObjectInstance(Object object,
                                Name name,
                                Context context,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Overrides:
getObjectInstance in class AbstractObjectFactory
Throws:
Exception

buildJndiName

protected String buildJndiName(Reference reference)
                        throws NamingException
Specified by:
buildJndiName in class AbstractObjectFactory
Throws:
NamingException


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.