|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple hello world stateless session bean home
Method Summary | |
java.lang.Object |
getCNFEObject()
Access a method which returns an instance that will not be found in the client env to check how CNFE are handled at the transport layer. |
NotSerializable (src) |
getNotSerializable()
|
java.lang.String |
hello(java.lang.String name)
|
java.lang.String |
helloException(java.lang.String name)
|
Hello (src) |
helloHello(Hello (src) object)
|
java.lang.String |
howdy(HelloData (src) name)
|
java.lang.String |
loggedHello(java.lang.String name)
|
void |
setNotSerializable(NotSerializable (src) ignored)
|
java.lang.String |
sleepingHello(java.lang.String name,
long sleepTimeMS)
A version of the hello method that sleeps for the indicated time to test response delays. |
void |
throwException()
|
Methods inherited from interface javax.ejb.EJBObject (src) |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.String hello(java.lang.String name) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String loggedHello(java.lang.String name) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String helloException(java.lang.String name) throws HelloException (src) , java.rmi.RemoteException
HelloException (src)
java.rmi.RemoteException
public Hello (src) helloHello(Hello (src) object) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String howdy(HelloData (src) name) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String sleepingHello(java.lang.String name, long sleepTimeMS) throws java.rmi.RemoteException
name
- some string to say Hello to.sleepTimeMS
- Milliseconds to sleep
java.rmi.RemoteException
public java.lang.Object getCNFEObject() throws java.rmi.RemoteException
java.rmi.RemoteException
public void throwException() throws java.rmi.RemoteException
java.rmi.RemoteException
public NotSerializable (src) getNotSerializable() throws java.rmi.RemoteException
java.rmi.RemoteException
public void setNotSerializable(NotSerializable (src) ignored) throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |