org.openmdx.application.ejb.lightweight
Class AbstractEJBHome

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by org.openmdx.application.ejb.lightweight.AbstractRemoteObject
              extended by org.openmdx.application.ejb.lightweight.AbstractEJBHome
All Implemented Interfaces:
Serializable, Remote, EJBHome, HomeConfiguration
Direct Known Subclasses:
Dataprovider_1HomeImpl

public class AbstractEJBHome
extends AbstractRemoteObject
implements HomeConfiguration, EJBHome

Abstract Enterprise Java Bean Home

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
protected AbstractEJBHome()
          Constructor
 
Method Summary
 void deactivate()
          Undeploy an Enterprise Java Bean Home
 EJBMetaData getEJBMetaData()
           
 HomeHandle getHomeHandle()
           
 TransactionManager getTransactionManager()
           
 void initialize(String beanName, String jndiURL, ContextSwitcher contextSwitcher, Class instanceClass, ObjectPool instancePool, ContainerTransaction containerTransaction, TransactionManager transactionManager)
          Deploy an Enterprise Java Bean Home
 void remove(Handle handle)
          This method must be overridden by a subclass unless it represents a session bean home.
 void remove(Object obejct)
          This method must be overridden by a subclass unless it represents a session bean home.
 String toString()
           
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEJBHome

protected AbstractEJBHome()
                   throws RemoteException
Constructor

Throws:
RemoteException
Method Detail

remove

public void remove(Object obejct)
            throws RemoteException,
                   RemoveException
This method must be overridden by a subclass unless it represents a session bean home.

Specified by:
remove in interface EJBHome
Throws:
RemoteException
RemoveException
See Also:
EJBHome.remove(java.lang.Object)

remove

public void remove(Handle handle)
            throws RemoteException,
                   RemoveException
This method must be overridden by a subclass unless it represents a session bean home.

Specified by:
remove in interface EJBHome
Throws:
RemoteException
RemoveException
See Also:
EJBHome.remove(javax.ejb.Handle)

getEJBMetaData

public EJBMetaData getEJBMetaData()
                           throws RemoteException
Specified by:
getEJBMetaData in interface EJBHome
Throws:
RemoteException

getHomeHandle

public HomeHandle getHomeHandle()
                         throws RemoteException
Specified by:
getHomeHandle in interface EJBHome
Throws:
RemoteException

initialize

public void initialize(String beanName,
                       String jndiURL,
                       ContextSwitcher contextSwitcher,
                       Class instanceClass,
                       ObjectPool instancePool,
                       ContainerTransaction containerTransaction,
                       TransactionManager transactionManager)
Deploy an Enterprise Java Bean Home

Specified by:
initialize in interface HomeConfiguration
Parameters:
beanName -
jndiURL -
contextSwitcher -
instancePool -

deactivate

public void deactivate()
Undeploy an Enterprise Java Bean Home


getTransactionManager

public TransactionManager getTransactionManager()

toString

public String toString()
Overrides:
toString in class RemoteObject


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.