|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.naming.Reference
org.apache.naming.EjbRef
Represents a reference address to an EJB.
Field Summary | |
static java.lang.String |
DEFAULT_FACTORY
Default factory for this reference. |
static java.lang.String |
LINK
Link address type. |
static java.lang.String |
REMOTE
Remote interface classname address type. |
static java.lang.String |
TYPE
EJB type address type. |
Fields inherited from class javax.naming.Reference |
addrs, classFactory, classFactoryLocation, className |
Constructor Summary | |
EjbRef(java.lang.String ejbType,
java.lang.String home,
java.lang.String remote,
java.lang.String link)
EJB Reference. |
|
EjbRef(java.lang.String ejbType,
java.lang.String home,
java.lang.String remote,
java.lang.String link,
java.lang.String factory,
java.lang.String factoryLocation)
EJB Reference. |
Method Summary | |
java.lang.String |
getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers. |
Methods inherited from class javax.naming.Reference |
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, hashCode, remove, size, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_FACTORY
public static final java.lang.String TYPE
public static final java.lang.String REMOTE
public static final java.lang.String LINK
Constructor Detail |
public EjbRef(java.lang.String ejbType, java.lang.String home, java.lang.String remote, java.lang.String link)
ejbType
- EJB typehome
- Home interface classnameremote
- Remote interface classnamelink
- EJB linkpublic EjbRef(java.lang.String ejbType, java.lang.String home, java.lang.String remote, java.lang.String link, java.lang.String factory, java.lang.String factoryLocation)
ejbType
- EJB typehome
- Home interface classnameremote
- Remote interface classnamelink
- EJB linkfactory
- Class name of the object's factoryfactoryLocation
- Location from which to load the factoryMethod Detail |
public java.lang.String getFactoryClassName()
If the factory class name is not set and the
Context.OBJECT_FACTORIES
system property is not present,
the name of the default EJB factory is returned
("org.apache.naming.factory.EjbFactory"). Null is returned if the
factory class name is not set, but the system property is present.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |