Previous section   Next section
GenericHandler javax.xml.rpc.handler

JAX-RPC 1.0; JWSDP 1.0, J2EE 1.4
public abstract class GenericHandler implements javax.xml.rpc.handler.Handler {
// Protected Constructors
    protected GenericHandler(  ); 
// Methods Implementing Handler
    public void destroy(  );
               // empty
    public abstract javax.xml.namespace.QName[ ] getHeaders(  ); 
    public boolean handleFault( MessageContext context);
               // constant
    public boolean handleRequest( MessageContext context);
               // constant
    public boolean handleResponse( MessageContext context);
               // constant
    public void init( HandlerInfo config);
               // empty
}

GenericHandler is a convenience class that can optionally be used as a base class for message handlers. MessageHandler provides default implementations of all of the methods of the Handler interface apart from getHeaders( ), which must be provided by subclasses. The default implementations do the following:


  Previous section   Next section