|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.rpc.AbsCallRef
org.objectweb.easybeans.rpc.LocalCallRef
public class LocalCallRef
Define the Referenceable objectd used by local EJB. This is the object that is bind in the registry.
Field Summary | |
---|---|
static java.lang.String |
EMBEDDED_ID
Property referencing the embedded server's ID. |
private java.lang.Integer |
embeddedID
Embedded server ID. |
Fields inherited from class org.objectweb.easybeans.rpc.AbsCallRef |
---|
CONTAINER_ID, FACTORY_NAME, INTERFACE_NAME, USE_ID |
Constructor Summary | |
---|---|
LocalCallRef(java.lang.String itfClassName,
java.lang.Integer embeddedID,
java.lang.String containerId,
java.lang.String factoryName,
boolean useID)
Constructor : build a reference. |
Method Summary | |
---|---|
protected java.lang.String |
getFactoryClassName()
Gets the name of the factory (can be used by subclasses to change the name). |
javax.naming.Reference |
getReference()
Retrieves the Reference of this object. |
Methods inherited from class org.objectweb.easybeans.rpc.AbsCallRef |
---|
getItfClassName, updateRefAddr |
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 EMBEDDED_ID
private java.lang.Integer embeddedID
Constructor Detail |
---|
public LocalCallRef(java.lang.String itfClassName, java.lang.Integer embeddedID, java.lang.String containerId, java.lang.String factoryName, boolean useID)
itfClassName
- the name of the interface.embeddedID
- the ID of the embedded server.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 javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
getReference
in class AbsCallRef
javax.naming.NamingException
- If a naming exception was encountered while
retrieving the reference.protected java.lang.String getFactoryClassName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |