com.sun.xml.ws.metro.api.config.management
Interface CommunicationServer<T>

Type Parameters:
T - The endpoint type.

public interface CommunicationServer<T>

The API that encapsulates any communication interface for configuration management.

Author:
Fabian Ritzmann

Method Summary
 void init(ManagedEndpoint<T> endpoint, com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion, com.sun.xml.ws.api.config.management.EndpointCreationAttributes creationAttributes, ClassLoader classLoader, Configurator<T> configurator, EndpointStarter starter)
          Initialize the communication interface.
 void start()
          Start the communication interface.
 void stop()
          Stop the communication interface.
 

Method Detail

init

void init(ManagedEndpoint<T> endpoint,
          com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion,
          com.sun.xml.ws.api.config.management.EndpointCreationAttributes creationAttributes,
          ClassLoader classLoader,
          Configurator<T> configurator,
          EndpointStarter starter)
          throws javax.xml.ws.WebServiceException
Initialize the communication interface.

Parameters:
endpoint - The ManagedEndpoint instance. Must not be null.
assertion - This assertion contains the policy that configured the managed endpoint. May be null.
creationAttributes - The attributes with which the original endpoint was created.
classLoader - The class loader that is associated with the original endpoint.
configurator - A Configurator instance. May not be null.
starter - An EndpointStarter instance. May not be null.
Throws:
javax.xml.ws.WebServiceException - If initialization failed.

start

void start()
           throws javax.xml.ws.WebServiceException
Start the communication interface.

Throws:
javax.xml.ws.WebServiceException - If the start failed.

stop

void stop()
          throws javax.xml.ws.WebServiceException
Stop the communication interface.

Throws:
javax.xml.ws.WebServiceException - If stopping the interface failed.


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