JBoss Wise API

org.jboss.wise.core.wsextensions
Interface WSExtensionEnabler

All Known Implementing Classes:
MTOMEnabler, WSAddressingEnabler, WSRMEnabler, WSSecurityEnabler

@ThreadSafe
public interface WSExtensionEnabler

It is an interface defining a WSExtension to be enabled on an endpoint using wise-core client APIs. The basic idea is to add all WSExtension you want to enable to a WSEndpoint using addWSExtension method. WSExtension implementation are meant to be pure declarative class delegating all their operations to a "visitor" class injected into the system with IOC Different Visitors implement EnablerDelegate and have to take care to implement necessary steps to implement various WSExtension for the JAXWS implementation for which they are supposed to work.

Author:
stefano.maestri@javalinux.it

Method Summary
 void enable(java.lang.Object endpointInstance)
          This is the call back method invoked by WSEndpoint to ask this extension to enable itself.
 EnablerDelegate getDelegate()
          For test purpose
 

Method Detail

enable

void enable(java.lang.Object endpointInstance)
This is the call back method invoked by WSEndpoint to ask this extension to enable itself. Implementer should delegate the effective job to EnablerDelegate implementation for the right JAX-WS stack in use.

Parameters:
endpointInstance -

getDelegate

EnablerDelegate getDelegate()
For test purpose

Returns:
visitor

JBoss Wise API

Copyright © 2008-2009 Jboss.org. All Rights Reserved.