com.jproxy.samples.ejb.test
Interface ISession

All Superinterfaces:
javax.ejb.EJBObject, ITest, java.rmi.Remote

public interface ISession
extends javax.ejb.EJBObject, ITest

ISession interface agregates all remote interfaces. ISession may extend number of interfaces. Each interface has its own implementation. It allows encapculation different interfaces from its implemntation It also allows validate methods of interfaces during compilation.


Method Summary
 void callbackBytes(java.lang.Object callback, int numberOfBytes, int numberOfLoops)
           
 byte[] echoBytes(byte[] bytes)
           
 long getServerTime()
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getServerTime

public long getServerTime()
                   throws java.rmi.RemoteException
Specified by:
getServerTime in interface ITest
Throws:
java.rmi.RemoteException

echoBytes

public byte[] echoBytes(byte[] bytes)
                 throws java.rmi.RemoteException
Specified by:
echoBytes in interface ITest
Throws:
java.rmi.RemoteException

callbackBytes

public void callbackBytes(java.lang.Object callback,
                          int numberOfBytes,
                          int numberOfLoops)
                   throws java.rmi.RemoteException
Specified by:
callbackBytes in interface ITest
Throws:
java.rmi.RemoteException


Copyright © JProxy LLC. All Rights Reserved.