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

Type Parameters:
T - The endpoint implementation class type.

public interface ConfigSaver<T>

Persist configuration changes

Author:
Fabian Ritzmann

Method Summary
 void init(ManagedEndpoint<T> endpoint, com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion)
          Initialize this instance.
 void persist(NamedParameters parameters)
          Persist configuration changes.
 

Method Detail

init

void init(ManagedEndpoint<T> endpoint,
          com.sun.xml.ws.api.config.management.policy.ManagedServiceAssertion assertion)
          throws WebServiceException
Initialize this instance.

Parameters:
endpoint - The ManagedEndpoint instance. Must not be null.
assertion - This assertion contains the policy that configured the managed endpoint. May be null.
Throws:
WebServiceException - If initialization failed.

persist

void persist(NamedParameters parameters)
             throws WebServiceException
Persist configuration changes.

Parameters:
parameters - Any parameter that needs to be passed into the implementation
Throws:
WebServiceException - If persisting the configuration failed.


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