public class EjbRef extends Reference
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FACTORY
Default factory for this reference.
|
static String |
LINK
Link address type.
|
static String |
REMOTE
Remote interface classname address type.
|
static String |
TYPE
EJB type address type.
|
addrs, classFactory, classFactoryLocation, className
Constructor and Description |
---|
EjbRef(String ejbType,
String home,
String remote,
String link)
EJB Reference.
|
EjbRef(String ejbType,
String home,
String remote,
String link,
String factory,
String factoryLocation)
EJB Reference.
|
Modifier and Type | Method and Description |
---|---|
String |
getFactoryClassName()
Retrieves the class name of the factory of the object to which this
reference refers.
|
public static final String DEFAULT_FACTORY
public static final String TYPE
public static final String REMOTE
public static final String LINK
public EjbRef(String ejbType, String home, String remote, String link)
ejbType
- EJB typehome
- Home interface classnameremote
- Remote interface classnamelink
- EJB linkpublic EjbRef(String ejbType, String home, String remote, String link, String factory, String factoryLocation)
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)public String getFactoryClassName()
getFactoryClassName
in class Reference
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.