com.sun.xml.ws.config.management.server
Class EndpointFactoryImpl

java.lang.Object
  extended by com.sun.xml.ws.config.management.server.EndpointFactoryImpl
All Implemented Interfaces:
ManagedEndpointFactory

public class EndpointFactoryImpl
extends Object
implements ManagedEndpointFactory

Create a ManagedEndpoint if the policy of the endpoint requires it. Otherwise returns the given endpoint.

Author:
Fabian Ritzmann, Martin Grebac

Constructor Summary
EndpointFactoryImpl()
           
 
Method Summary
<T> WSEndpoint<T>
createEndpoint(WSEndpoint<T> endpoint, EndpointCreationAttributes attributes)
          This method may return a WSEndpoint implementation that wraps the original WSEndpoint instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointFactoryImpl

public EndpointFactoryImpl()
Method Detail

createEndpoint

public <T> WSEndpoint<T> createEndpoint(WSEndpoint<T> endpoint,
                                        EndpointCreationAttributes attributes)
Description copied from interface: ManagedEndpointFactory
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.

Specified by:
createEndpoint in interface ManagedEndpointFactory
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.