org.jboss.test.webservice.header
Class ImplicitHeaderEndpointImpl

java.lang.Object
  extended byorg.jboss.test.webservice.header.ImplicitHeaderEndpointImpl
All Implemented Interfaces:
ImplicitHeaderEndpoint (src) , java.rmi.Remote, ServiceLifecycle (src)

public class ImplicitHeaderEndpointImpl
extends java.lang.Object
implements ImplicitHeaderEndpoint (src) , ServiceLifecycle (src)

Since:
26-Nov-2004

Field Summary
 
Fields inherited from interface org.jboss.test.webservice.header.ImplicitHeaderEndpoint (src)
LOCAL_PART
 
Constructor Summary
ImplicitHeaderEndpointImpl()
           
 
Method Summary
 void destroy()
          JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method.
 boolean doStuff(java.lang.String parameter)
           
 void init(java.lang.Object context)
          Used for initialization of a service endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplicitHeaderEndpointImpl

public ImplicitHeaderEndpointImpl()
Method Detail

doStuff

public boolean doStuff(java.lang.String parameter)
                throws java.rmi.RemoteException
Specified by:
doStuff in interface ImplicitHeaderEndpoint (src)
Throws:
java.rmi.RemoteException

init

public void init(java.lang.Object context)
          throws ServiceException (src) 
Description copied from interface: ServiceLifecycle (src)
Used for initialization of a service endpoint. After a service endpoint instance (an instance of a service endpoint class) is instantiated, the JAX-RPC runtime system invokes the init method. The service endpoint class uses the init method to initialize its configuration and setup access to any external resources. The context parameter in the init method enables the endpoint instance to access the endpoint context provided by the underlying JAX-RPC runtime system. The init method implementation should typecast the context parameter to an appropriate Java type. For service endpoints deployed on a servlet container based JAX-RPC runtime system, the context parameter is of the Java type javax.xml.rpc.server.ServletEndpointContext. The ServletEndpointContext provides an endpoint context maintained by the underlying servlet container based JAX-RPC runtime system

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()
Description copied from interface: ServiceLifecycle (src)
JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method. The service endpoint releases its resourcesin the implementation of the destroy method.

Specified by:
destroy in interface ServiceLifecycle (src)