org.jboss.test.cts.interfaces
Interface StatefulSession

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface StatefulSession
extends EJBObject (src)

Interface StatefulSession


Method Summary
 void createLocalEntity(AccountPK (src)  pk, java.lang.String personsName)
           
 void createSessionHandle()
           
 void createSessionRef()
           
 void createStatefulSessionHandle(java.lang.String testName)
           
 void decCounter()
           
 BeanContextInfo (src) getBeanContextInfo()
           
 int getCounter()
           
 java.lang.String getTestName()
           
 boolean getWasActivated()
          Has ejbActivate been called
 boolean getWasPassivated()
          Has ejbPassivate been called
 void incCounter()
           
 void loopbackTest()
           
 void loopbackTest(EJBObject (src)  obj)
           
 java.lang.String method1(java.lang.String msg)
           
 void ping()
           
 java.lang.String readAndRemoveEntity()
           
 void setCounter(int value)
           
 void sleep(long wait)
           
 java.lang.String useSessionHandle(java.lang.String arg)
           
 java.lang.String useSessionRef()
           
 void useStatefulSessionHandle()
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getTestName

public java.lang.String getTestName()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

method1

public java.lang.String method1(java.lang.String msg)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

incCounter

public void incCounter()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

decCounter

public void decCounter()
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCounter

public int getCounter()
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCounter

public void setCounter(int value)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBeanContextInfo

public BeanContextInfo (src)  getBeanContextInfo()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

loopbackTest

public void loopbackTest()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

loopbackTest

public void loopbackTest(EJBObject (src)  obj)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getWasActivated

public boolean getWasActivated()
                        throws java.rmi.RemoteException
Has ejbActivate been called

Throws:
java.rmi.RemoteException

getWasPassivated

public boolean getWasPassivated()
                         throws java.rmi.RemoteException
Has ejbPassivate been called

Throws:
java.rmi.RemoteException

createLocalEntity

public void createLocalEntity(AccountPK (src)  pk,
                              java.lang.String personsName)
                       throws CreateException (src) ,
                              java.rmi.RemoteException
Throws:
CreateException (src)
java.rmi.RemoteException

readAndRemoveEntity

public java.lang.String readAndRemoveEntity()
                                     throws RemoveException (src) ,
                                            java.rmi.RemoteException
Throws:
RemoveException (src)
java.rmi.RemoteException

createSessionHandle

public void createSessionHandle()
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

useSessionHandle

public java.lang.String useSessionHandle(java.lang.String arg)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createStatefulSessionHandle

public void createStatefulSessionHandle(java.lang.String testName)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

useStatefulSessionHandle

public void useStatefulSessionHandle()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createSessionRef

public void createSessionRef()
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

useSessionRef

public java.lang.String useSessionRef()
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

ping

public void ping()
          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sleep

public void sleep(long wait)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException