|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.rpc.AbsCallRef
public abstract class AbsCallRef
Define a common Referenceable objectd used by local or remote EJB.
Field Summary | |
---|---|
static java.lang.String |
CONTAINER_ID
Property used for referencing the container ID. |
private java.lang.String |
containerId
Container id. |
static java.lang.String |
FACTORY_NAME
Property used for referencing the name of the factory. |
private java.lang.String |
factoryName
Factory name. |
static java.lang.String |
INTERFACE_NAME
Property used for referencing the interface class name. |
private java.lang.String |
itfClassName
Name of the interface class. |
static java.lang.String |
USE_ID
Property used for using an unique ID or not. |
private boolean |
useID
useID : true if all instance build with this ref are unique (stateful), false if it references the same object (stateless). |
Constructor Summary | |
---|---|
AbsCallRef(java.lang.String itfClassName,
java.lang.String containerId,
java.lang.String factoryName,
boolean useID)
Constructor : build a reference. |
Method Summary | |
---|---|
java.lang.String |
getItfClassName()
Gets the interface class name. |
abstract javax.naming.Reference |
getReference()
Retrieves the Reference of this object. |
protected void |
updateRefAddr(javax.naming.Reference reference)
Adds some settings to 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 CONTAINER_ID
public static final java.lang.String FACTORY_NAME
public static final java.lang.String INTERFACE_NAME
public static final java.lang.String USE_ID
private java.lang.String itfClassName
private java.lang.String containerId
private java.lang.String factoryName
private boolean useID
Constructor Detail |
---|
public AbsCallRef(java.lang.String itfClassName, java.lang.String containerId, java.lang.String factoryName, boolean useID)
itfClassName
- the name of the interface.containerId
- the ID of the container.factoryName
- the name of the factoryuseID
- true if all instance build with this ref are unique
(stateful), false if it references the same object (stateless)Method Detail |
---|
public abstract javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
- If a naming exception was encountered while
retrieving the reference.protected void updateRefAddr(javax.naming.Reference reference)
reference
- the reference to configurepublic java.lang.String getItfClassName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |