|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.module.webapp.EjbRef
public class EjbRef
Represents a ejb-ref element of a web application descriptor.
| Field Summary | |
|---|---|
static java.lang.String |
ENTITY
Constant representing an entity ejb reference. |
static java.lang.String |
SESSION
Constant representing an session ejb reference. |
| Constructor Summary | |
|---|---|
EjbRef()
Empty constructor. |
|
EjbRef(java.lang.String name,
java.lang.String ejbInterface,
java.lang.String ejbHomeInterface)
Construct a new ejb-ref. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEjbHomeInterface()
Returns the ejb home inteface. |
java.lang.String |
getEjbInterface()
Returns the ejb inteface. |
java.lang.String |
getEjbName()
Returns the ejb name. |
java.lang.String |
getJndiName()
Returns the jndi inteface. |
java.lang.String |
getName()
Returns the name of the reference. |
java.lang.String |
getType()
Returns the type of reference. |
boolean |
isLocal()
Indicates if the ejb referenced is a local ejb. |
void |
setEjbHomeInterface(java.lang.String ejbHomeInterface)
Sets the ejb home interface. |
void |
setEjbInterface(java.lang.String ejbInterface)
Sets the ejb interface. |
void |
setEjbName(java.lang.String ejbName)
Sets the ejb name. |
void |
setJndiName(java.lang.String jndiName)
Sets the jndi name. |
void |
setLocal(boolean local)
Set if the referenced ejb is a local ejb. |
void |
setName(java.lang.String name)
Sets the name of the reference. |
void |
setType(java.lang.String type)
Sets the type of the reference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SESSION
public static final java.lang.String ENTITY
| Constructor Detail |
|---|
public EjbRef()
public EjbRef(java.lang.String name,
java.lang.String ejbInterface,
java.lang.String ejbHomeInterface)
name - Name of the reference. For example ejb/MyEjb.ejbInterface - Class name of the ejb interface.ejbHomeInterface - Class name of the ejb home interface.| Method Detail |
|---|
public java.lang.String getEjbHomeInterface()
public void setEjbHomeInterface(java.lang.String ejbHomeInterface)
ejbHomeInterface - the home interface of the ejb.public java.lang.String getEjbInterface()
public void setEjbInterface(java.lang.String ejbInterface)
ejbInterface - the interface of the ejb.public java.lang.String getEjbName()
public void setEjbName(java.lang.String ejbName)
ejbName - the name of the ejb.public java.lang.String getJndiName()
public void setJndiName(java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
name - name of the reference.public java.lang.String getType()
EjbRef.SESSION,
EjbRef.ENTITYpublic void setType(java.lang.String type)
type - type of reference.EjbRef.SESSION,
EjbRef.ENTITY
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||