org.jboss.test.webservice.samples
Class OrganizationJSEEndpoint

java.lang.Object
  extended byorg.jboss.test.webservice.samples.OrganizationJSEEndpoint
All Implemented Interfaces:
Organization (src) , java.rmi.Remote, ServiceLifecycle (src)

public class OrganizationJSEEndpoint
extends java.lang.Object
implements Organization (src) , ServiceLifecycle (src)

An example of a java service endpoint.

Since:
26-Apr-2004

Constructor Summary
OrganizationJSEEndpoint()
           
 
Method Summary
 void destroy()
          JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method.
 java.lang.String getContactInfo(java.lang.String organization)
           
 void init(java.lang.Object context)
          Used for initialization of a service endpoint.
 Person (src) jobRequest(Person (src)  target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationJSEEndpoint

public OrganizationJSEEndpoint()
Method Detail

getContactInfo

public java.lang.String getContactInfo(java.lang.String organization)
Specified by:
getContactInfo in interface Organization (src)

jobRequest

public Person (src)  jobRequest(Person (src)  target)
Specified by:
jobRequest in interface Organization (src)

init

public void init(java.lang.Object context)
          throws ServiceException (src) 
Used for initialization of a service endpoint.

Specified by:
init in interface ServiceLifecycle (src)
Parameters:
context - Endpoint context for a JAX-RPC service endpoint
Throws:
ServiceException (src) - If any error in initialization of the service endpoint; or if any illegal context has been provided in the init method

destroy

public void destroy()
JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method.

Specified by:
destroy in interface ServiceLifecycle (src)