IBM WebSphere Application ServerTM
Release 7

com.ibm.wsspi.rrd.extension.handler
Interface ExtensionHandler

All Known Implementing Classes:
GenericExtensionHandler

public interface ExtensionHandler

The ExtensionHandler interface represents an RRD extension handler, which is used to handle extension data that is received in an RRD request.

Since:
WAS6.1

Method Summary
 void destroy()
          Destroys this extension handler.
 void doHandle(ExtensionHandlerRequest request, ExtensionHandlerResponse response, ExtensionChain chain)
          Performs processing using this extension handler by handling an extension element attached to an RRD request.
 ExtensionHandlerConfig getExtensionHandlerConfig()
          Retrieves the extension handler configuration information associated with this extension handler.
 void init(ExtensionHandlerConfig config)
          Initializes this extension handler.
 

Method Detail

getExtensionHandlerConfig

ExtensionHandlerConfig getExtensionHandlerConfig()
Retrieves the extension handler configuration information associated with this extension handler.

Returns:
an ExtensionHandlerConfig object containing the extension handler configuration information associated with this extension handler.

init

void init(ExtensionHandlerConfig config)
          throws RRDException
Initializes this extension handler.

Parameters:
config - an ExtensionConfig object containing configuration information for this extension handler.
Throws:
RRDException - if an error occurs during initialization.

doHandle

void doHandle(ExtensionHandlerRequest request,
              ExtensionHandlerResponse response,
              ExtensionChain chain)
              throws RRDException,
                     java.io.IOException
Performs processing using this extension handler by handling an extension element attached to an RRD request.

Parameters:
request - an ExtensionHandlerRequest object containing request information for this extension handler.
response - an ExtensionHandlerResponse object that is used by this extension handler to provide response information.
chain - an ExtensionChain object used to invoke the next extension handler in the chain.
Throws:
RRDException - if an error occurs during extension handling.
java.io.IOException - if an IOException occurs during extension handling.

destroy

void destroy()
Destroys this extension handler.


IBM WebSphere Application ServerTM
Release 7