Top Description Fields Constructors Methods
org.apache.naming

public Class EjbRef

extends AbstractRef
Class Inheritance
Imports
javax.naming.StringRefAddr

Represents a reference address to an EJB.
Author
Remy Maucherat

Field Summary

Modifier and TypeField and Description
public static final String
DEFAULT_FACTORY

Default factory for this reference.

public static final String
LINK

Link address type.

public static final String
REMOTE

Remote interface classname address type.

private static final long
public static final String
TYPE

EJB type address type.

Constructor Summary

AccessConstructor and Description
public
EjbRef(String
EJB type
ejbType
,
String
Home interface classname
home
,
String
Remote interface classname
remote
,
String
EJB link
link
)

EJB Reference.

public
EjbRef(String
EJB type
ejbType
,
String
Home interface classname
home
,
String
Remote interface classname
remote
,
String
EJB link
link
,
String
The possibly null class name of the object's factory.
factory
,
String
The possibly null location from which to load the factory (e.g. URL)
factoryLocation
)

EJB Reference.

Method Summary

Modifier and TypeMethod and Description
protected String
Inherited from org.apache.naming.AbstractRef:
getFactoryClassNametoString

Field Detail

DEFAULT_FACTORYback to summary
public static final String DEFAULT_FACTORY

Default factory for this reference.

REMOTEback to summary
public static final String REMOTE

Remote interface classname address type.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.naming.AbstractRef.serialVersionUID.

TYPEback to summary
public static final String TYPE

EJB type address type.

Constructor Detail

EjbRefback to summary
public EjbRef(String ejbType, String home, String remote, String link)

EJB Reference.

Parameters
ejbType:String

EJB type

home:String

Home interface classname

remote:String

Remote interface classname

link:String

EJB link

EjbRefback to summary
public EjbRef(String ejbType, String home, String remote, String link, String factory, String factoryLocation)

EJB Reference.

Parameters
ejbType:String

EJB type

home:String

Home interface classname

remote:String

Remote interface classname

link:String

EJB link

factory:String

The possibly null class name of the object's factory.

factoryLocation:String

The possibly null location from which to load the factory (e.g. URL)

Method Detail

getDefaultFactoryClassNameback to summary
protected String getDefaultFactoryClassName()

Implements abstract org.apache.naming.AbstractRef.getDefaultFactoryClassName.

Annotations
@Override