Methods Summary |
---|
public final EJBHome | getEJBHome()
container.authorizeRemoteMethod(BaseContainer.EJBObject_getEJBHome);
return container.getEJBHomeStub();
|
public java.rmi.Remote | getEJBObject()Get the Remote object corresponding to an EJBObjectImpl for
the RemoteHome view.
return ejbObject;
|
public java.rmi.Remote | getEJBObject(java.lang.String generatedBusinessInterface)Get the Remote object corresponding to an EJBObjectImpl for
the RemoteBusiness view.
return (java.rmi.Remote) businessEJBObjects.get
(generatedBusinessInterface);
|
public final Handle | getHandle()This is called when the EJB client does ejbref.getHandle().
Return a serializable implementation of javax.ejb.Handle.
container.authorizeRemoteMethod(BaseContainer.EJBObject_getHandle);
// We can assume the stub an EJBObject since getHandle() is only
// visible through the RemoteHome view.
return new HandleImpl((EJBObject)stub);
|
public java.lang.Object | getPrimaryKey()
if ( container instanceof EntityContainer ) {
container.authorizeRemoteMethod(
BaseContainer.EJBObject_getPrimaryKey);
return primaryKey;
}
else {
throw new RemoteException(localStrings.getLocalString(
"containers.invalid_operation",
"Invalid operation for Session EJBs."));
}
|
public final java.rmi.Remote | getStub()
return stub;
|
public final java.rmi.Remote | getStub(java.lang.String generatedBusinessInterface)
return (java.rmi.Remote) businessStubs.get(generatedBusinessInterface);
|
final boolean | isBeingCreated()
return beingCreated;
|
public boolean | isIdentical(EJBObject ejbo)
container.authorizeRemoteMethod(BaseContainer.EJBObject_isIdentical);
return container.isIdentical(this, ejbo);
|
boolean | isRemoteHomeView()
return isRemoteHomeView;
|
public final void | remove()This is called when the EJB client does ejbref.remove().
or EJBHome/LocalHome.remove(primaryKey).
Since there is no generated code in the *_EJBObjectImpl class
for remove, we need to call preInvoke, postInvoke etc here.
// authorization is performed within container
container.removeBean(this, REMOVE_METHOD, false);
|
final void | setBeingCreated(boolean b)
beingCreated = b;
|
public void | setEJBObject(java.rmi.Remote ejbObject)
this.ejbObject = ejbObject;
|
public void | setEJBObject(java.lang.String generatedBusinessInterface, java.rmi.Remote ejbObject)
businessEJBObjects.put(generatedBusinessInterface, ejbObject);
|
void | setIsRemoteHomeView(boolean flag)
isRemoteHomeView = flag;
|
final void | setStub(java.rmi.Remote stub)
this.stub = stub;
|
final void | setStub(java.lang.String generatedBusinessInterface, java.rmi.Remote stub)Stubs are keyed by the name of generated RMI-IIOP version of
each remote business interface.
businessStubs.put(generatedBusinessInterface, stub);
|