| java.lang.Object org.ow2.easybeans.proxy.reference.AbsCallRef org.ow2.easybeans.proxy.reference.LocalCallRef
All known Subclasses: org.ow2.easybeans.proxy.reference.EJBLocalHomeCallRef,
LocalCallRef | public class LocalCallRef extends AbsCallRef (Code) | | Define the Referenceable objectd used by local EJB.
This is the object that is bind in the registry.
author: Florent Benoit |
Field Summary | |
final public static String | EMBEDDED_ID Property referencing the embedded server's ID. |
EMBEDDED_ID | final public static String EMBEDDED_ID(Code) | | Property referencing the embedded server's ID.
|
LocalCallRef | public LocalCallRef(String itfClassName, Integer embeddedID, String containerId, String factoryName, boolean useID)(Code) | | Constructor : build a reference.
Parameters: itfClassName - the name of the interface. Parameters: embeddedID - the ID of the embedded server. Parameters: containerId - the ID of the container. Parameters: factoryName - the name of the factory Parameters: useID - true if all instance build with this ref are unique(stateful), false if it references the same object (stateless) |
getFactoryClassName | protected String getFactoryClassName()(Code) | | Gets the name of the factory (can be used by subclasses to change the name).
the name of the factory used by this reference. |
getReference | public Reference getReference() throws NamingException(Code) | | Retrieves the Reference of this object.
The non-null Reference of this object. exception: NamingException - If a naming exception was encountered whileretrieving the reference. |
|
|