public class EjbRef extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY
Constant representing an entity ejb reference.
|
static String |
SESSION
Constant representing an session ejb reference.
|
Constructor and Description |
---|
EjbRef()
Empty constructor.
|
EjbRef(String name,
String ejbInterface,
String ejbHomeInterface)
Construct a new ejb-ref.
|
Modifier and Type | Method and Description |
---|---|
String |
getEjbHomeInterface()
Returns the ejb home inteface.
|
String |
getEjbInterface()
Returns the ejb inteface.
|
String |
getEjbName()
Returns the ejb name.
|
String |
getJndiName()
Returns the jndi inteface.
|
String |
getName()
Returns the name of the reference.
|
String |
getType()
Returns the type of reference.
|
boolean |
isLocal()
Indicates if the ejb referenced is a local ejb.
|
void |
setEjbHomeInterface(String ejbHomeInterface)
Sets the ejb home interface.
|
void |
setEjbInterface(String ejbInterface)
Sets the ejb interface.
|
void |
setEjbName(String ejbName)
Sets the ejb name.
|
void |
setJndiName(String jndiName)
Sets the jndi name.
|
void |
setLocal(boolean local)
Set if the referenced ejb is a local ejb.
|
void |
setName(String name)
Sets the name of the reference.
|
void |
setType(String type)
Sets the type of the reference.
|
public static final String SESSION
public static final String ENTITY
public String getEjbHomeInterface()
public void setEjbHomeInterface(String ejbHomeInterface)
ejbHomeInterface
- the home interface of the ejb.public String getEjbInterface()
public void setEjbInterface(String ejbInterface)
ejbInterface
- the interface of the ejb.public String getEjbName()
public void setEjbName(String ejbName)
ejbName
- the name of the ejb.public String getJndiName()
public void setJndiName(String jndiName)
jndiName
- jndi name of the referenced ejb.public boolean isLocal()
public void setLocal(boolean local)
local
- true if the referenced ejb is local.public String getName()
public void setName(String name)
name
- name of the reference.public String getType()
EjbRef.SESSION
,
EjbRef.ENTITY
public void setType(String type)
type
- type of reference.EjbRef.SESSION
,
EjbRef.ENTITY
Copyright © 2004-2013 Codehaus. All Rights Reserved.