Adding web services global handlers
Components that need to register web services handlers to all the web services end points must implement the Handler interface and register that implementation in the service registry.
Before you begin
- jaxws-2.2
- jaxrs-1.1
- jaxrs-2.0
- jaxrs-2.0 client
- jaxws-2.2 and jaxrs-1.1
- jaxws-2.2 and jaxrs-2.0
- jaxws-2.2 and jaxrs-2.0 client
About this task
The Handler SPI provides different properties to specify the ENGINE_TYPE, the FLOW_TYPE, and the client side (IS_CLIENT_SIDE) or the server side (IS_SERVER_SIDE) where handlers take effect.
You must implement the Handler interface and register the implementation class into the service registry.
The Java API documentation for each Liberty SPI is available in a separate compressed file in one of the Javadoc subdirectories of the ${wlp.install.dir}/dev directory.
Deploying the handler bundle
You can deploy the handler bundle by using the WebSphere® Application Server Developer Tools for Eclipse .