com.sun.xml.ws.api.config.management
Interface ManagedEndpointFactory

All Known Implementing Classes:
EndpointFactoryImpl

public interface ManagedEndpointFactory

Interface to create a new WSEndpoint wrapper. This is intended to be implemented by the configuration management to return a ManagedEndpoint that wraps the original WSEndpoint instance.

Author:
Fabian Ritzmann

Method Summary
<T> WSEndpoint<T>
createEndpoint(WSEndpoint<T> endpoint, EndpointCreationAttributes attributes)
          This method may return a WSEndpoint implementation that wraps the original WSEndpoint instance.
 

Method Detail

createEndpoint

<T> WSEndpoint<T> createEndpoint(WSEndpoint<T> endpoint,
                                 EndpointCreationAttributes attributes)
This method may return a WSEndpoint implementation that wraps the original WSEndpoint instance. This allows to interject e.g. management code. If management has not been enabled for this endpoint, it will return the original WSEndpoint instance.

Type Parameters:
T - The endpoint implementation type.
Parameters:
endpoint - The endpoint instance.
attributes - The parameters with which the original endpoint instance was created.
Returns:
A WSEndpoint that wraps the original WSEndpoint instance or the original WSEndpoint instance.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.