|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The endpoint implementation class type.public interface Configurator<T>
This interface encapsulates the logic to reconfigure an endpoint instance.
| Method Summary | |
|---|---|
void |
init(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion,
ConfigReader<T> reader,
ConfigSaver<T> saver)
Initializes the endpoint. |
void |
recreate(NamedParameters parameters)
Reconfigures an endpoint instance. |
void |
start()
Starts any concurrent tasks required by the implementation. |
void |
stop()
Starts any concurrent tasks required by the implementation. |
| Method Detail |
|---|
void init(ManagedEndpoint<T> endpoint,
com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion,
ConfigReader<T> reader,
ConfigSaver<T> saver)
throws javax.xml.ws.WebServiceException
endpoint - The managed endpoint instance. Must not be null.assertion - This assertion contains the policy that configured the
managed endpoint. May be null.reader - A ConfigReader instance. Must not be null.saver - A ConfigSaver instance. Must not be null.
javax.xml.ws.WebServiceException - If the initialization failed.
void start()
throws javax.xml.ws.WebServiceException
javax.xml.ws.WebServiceException - If the start failed.
void stop()
throws javax.xml.ws.WebServiceException
javax.xml.ws.WebServiceException - If stopping failed.
void recreate(NamedParameters parameters)
throws javax.xml.ws.WebServiceException
parameters - The reconfiguration data.
javax.xml.ws.WebServiceException - If the reconfiguration failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||