Package org.apache.naming
Class EjbRef
java.lang.Object
javax.naming.Reference
org.apache.naming.AbstractRef
org.apache.naming.EjbRef
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a reference address to an EJB.
- Author:
- Remy Maucherat
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default factory for this reference.static final String
Link address type.static final String
Remote interface classname address type.static final String
EJB type address type.Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.naming.AbstractRef
getFactoryClassName, toString
-
Field Details
-
DEFAULT_FACTORY
Default factory for this reference.- See Also:
-
TYPE
EJB type address type.- See Also:
-
REMOTE
Remote interface classname address type.- See Also:
-
LINK
Link address type.- See Also:
-
-
Constructor Details
-
EjbRef
EJB Reference.- Parameters:
ejbType
- EJB typehome
- Home interface classnameremote
- Remote interface classnamelink
- EJB link
-
EjbRef
public EjbRef(String ejbType, String home, String remote, String link, String factory, String factoryLocation) EJB Reference.- Parameters:
ejbType
- EJB typehome
- Home interface classnameremote
- Remote interface classnamelink
- EJB linkfactory
- The possibly null class name of the object's factory.factoryLocation
- The possibly null location from which to load the factory (e.g. URL)
-
-
Method Details
-
getDefaultFactoryClassName
- Specified by:
getDefaultFactoryClassName
in classAbstractRef
-