org.openmdx.application.ejb.lightweight
Class AbstractEJBObject
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
org.openmdx.application.ejb.lightweight.AbstractRemoteObject
org.openmdx.application.ejb.lightweight.AbstractEJBObject
- All Implemented Interfaces:
- Serializable, Remote, EJBObject
public abstract class AbstractEJBObject
- extends AbstractRemoteObject
- implements EJBObject
Abstract EJBObject implementation
- See Also:
- Serialized Form
AbstractEJBObject
protected AbstractEJBObject(AbstractEJBHome home)
throws RemoteException
- Constructor
- Parameters:
home - the EJB's home
- Throws:
RemoteException
getEJBHome
public EJBHome getEJBHome()
throws RemoteException
- Specified by:
getEJBHome in interface EJBObject
- Throws:
RemoteException
getPrimaryKey
public Object getPrimaryKey()
throws RemoteException
- This method must be overridden by a subclass unless it represents a
session bean.
- Specified by:
getPrimaryKey in interface EJBObject
- Throws:
RemoteException- See Also:
EJBObject.getPrimaryKey()
remove
public void remove()
throws RemoteException,
RemoveException
- This method must be overridden by a subclass unless it represents a
stateless session bean.
- Specified by:
remove in interface EJBObject
- Throws:
RemoteException
RemoveException- See Also:
EJBObject.remove()
isIdentical
public boolean isIdentical(EJBObject that)
throws RemoteException
- This method must be overridden by a subclass unless it represents a
session bean.
- Specified by:
isIdentical in interface EJBObject
- Throws:
RemoteException- See Also:
EJBObject.isIdentical(javax.ejb.EJBObject)
getAction
protected AbstractEJBObject.Action getAction(String name,
Class[] parameterTypes)
throws RemoteException
- Action factory
- Parameters:
name - parameterTypes -
- Returns:
- the rquested instance method
- Throws:
RemoteException
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.