org.exoplatform.connectors.jcr.ejb21
Class JcrRestEJBConnectorBean

java.lang.Object
  extended by org.exoplatform.connectors.jcr.ejb21.JcrRestEJBConnectorBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class JcrRestEJBConnectorBean
extends java.lang.Object
implements javax.ejb.SessionBean

Version:
$Id: JcrRestEJBConnectorBean.java 35179 2009-08-07 13:58:20Z pnedonosko $
Author:
Andrey Parfonov
See Also:
Serialized Form

Constructor Summary
JcrRestEJBConnectorBean()
           
 
Method Summary
 void ejbActivate()
          
 void ejbCreate()
           
 void ejbPassivate()
          
 void ejbRemove()
          
protected  org.exoplatform.container.ExoContainer getContainer()
           
 org.exoplatform.common.transport.SerialResponse service(org.exoplatform.common.transport.SerialRequest request)
           
 void setSessionContext(javax.ejb.SessionContext context)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrRestEJBConnectorBean

public JcrRestEJBConnectorBean()
Method Detail

service

public final org.exoplatform.common.transport.SerialResponse service(org.exoplatform.common.transport.SerialRequest request)
                                                              throws java.io.IOException
Parameters:
request - wrapper for REST request that gives possibility transfer request via RMI
Returns:
wrapper around REST response that gives possibility transfer request via RMI
Throws:
java.io.IOException - if any i/o errors occurs

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

ejbCreate

public void ejbCreate()

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException

getContainer

protected org.exoplatform.container.ExoContainer getContainer()
Returns:
actual exo container


Copyright © 2012 eXo Platform SAS. All Rights Reserved.