org.jboss.test.hello.interfaces
Interface Hello

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

public interface Hello
extends EJBObject (src)

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

hello

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

loggedHello

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

helloException

public java.lang.String helloException(java.lang.String name)
                                throws HelloException (src) ,
                                       java.rmi.RemoteException
Throws:
HelloException (src)
java.rmi.RemoteException

helloHello

public Hello (src)  helloHello(Hello (src)  object)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

howdy

public java.lang.String howdy(HelloData (src)  name)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sleepingHello

public java.lang.String sleepingHello(java.lang.String name,
                                      long sleepTimeMS)
                               throws java.rmi.RemoteException
A version of the hello method that sleeps for the indicated time to test response delays.

Parameters:
name - some string to say Hello to.
sleepTimeMS - Milliseconds to sleep
Returns:
"Hello " + name.
Throws:
java.rmi.RemoteException

getCNFEObject

public java.lang.Object getCNFEObject()
                               throws java.rmi.RemoteException
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.

Returns:
An HelloBean$ServerData
Throws:
java.rmi.RemoteException

throwException

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

getNotSerializable

public NotSerializable (src)  getNotSerializable()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setNotSerializable

public void setNotSerializable(NotSerializable (src)  ignored)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException