|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.metro.api.config.management.ManagementFactory
public class ManagementFactory
Provides methods to create implementations for the Management APIs.
| Constructor Summary | |
|---|---|
ManagementFactory(com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion)
Creates a factory instance initialized with the given ManagedServiceAssertion. |
|
| Method Summary | ||
|---|---|---|
|
createCommunicationImpls(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.EndpointCreationAttributes creationAttributes,
java.lang.ClassLoader classLoader,
Configurator<T> configurator,
EndpointStarter starter)
Finds and returns all CommunicationServer implementations. |
|
|
createConfigReaderImpl(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.EndpointCreationAttributes attributes,
java.lang.ClassLoader classLoader,
EndpointStarter starter)
Finds and returns a ConfigReader implementation. |
|
|
createConfigSaverImpl(ManagedEndpoint<T> endpoint)
Finds and returns a ConfigSaver implementation. |
|
|
createConfiguratorImpl(ManagedEndpoint<T> endpoint,
ConfigReader<T> reader,
ConfigSaver<T> saver)
Finds and returns a Configurator implementation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagementFactory(com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion)
assertion - A ManagedServiceAssertion. May not be null.| Method Detail |
|---|
public <T> java.util.Collection<CommunicationServer<T>> createCommunicationImpls(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.EndpointCreationAttributes creationAttributes,
java.lang.ClassLoader classLoader,
Configurator<T> configurator,
EndpointStarter starter)
throws WebServiceException
T - The type of the endpoint implementation.endpoint - The ManagedEndpoint instance. May not be null.creationAttributes - The attributes with which the original endpoint
was created. May not be null.classLoader - The class loader that is associated with the original
endpoint. Must not be null.configurator - A Configurator instance. May not be null.starter - An Endpoint starter instance. May not be null.
WebServiceException - If a CommunicationServer implementation could not
be instantiated or initialized or if no CommunicationServer implementation
was found.
public <T> Configurator<T> createConfiguratorImpl(ManagedEndpoint<T> endpoint,
ConfigReader<T> reader,
ConfigSaver<T> saver)
throws WebServiceException
T - The endpoint implementation class type.endpoint - The managed endpoint instance. Must not be null.reader - A ConfigReader instance. Must not be null.saver - A ConfigSaver instance. Must not be null.
WebServiceException - If a Configurator implementation could not be
instantiated or if no implementation was found.
public <T> ConfigSaver<T> createConfigSaverImpl(ManagedEndpoint<T> endpoint)
throws WebServiceException
T - The endpoint implementation class type.endpoint - The endpoint implementation class type.
WebServiceException - If a ConfigSaver implementation could not be
instantiated or if no implementation was found.
public <T> ConfigReader<T> createConfigReaderImpl(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.EndpointCreationAttributes attributes,
java.lang.ClassLoader classLoader,
EndpointStarter starter)
throws WebServiceException
T - The endpoint implementation class type.endpoint - A ManagedEndpoint instance. Must not be null.attributes - The attributes with which the original WSEndpoint instance
was created.classLoader - The class loader that is associated with the original
WSEndpoint instance.starter - An EndpointStarter instance. Must not be null.
WebServiceException - If a ConfigReader implementation could not
be instantiated or initialized or if no ConfigReader implementation
was found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||