Openwings API Documentation (v1.0)

net.openwings.component
Interface ProvideServicePolicy

All Superinterfaces:
Policy, java.io.Serializable

public interface ProvideServicePolicy
extends Policy

This interface defines a policy which can be used to persist a ProvideServiceParameters() object that is intended to be passed to one of the ComponentComplex.provideService() methods to specify configuration information and behavior relevant to providing a service.


Method Summary
 ProvideServiceParameters getParameters()
          This method returns the parameters for using some service.
 void setParameters(ProvideServiceParameters parameters)
          This method sets the parameters for using some service.
 
Methods inherited from interface net.openwings.policy.Policy
getDescription, getLastLoadURL, getName, getPolicyAttributes, getPolicyElements, isPolicyUpdated, loadPolicy, loadPolicy, savePolicy, savePolicy, savePolicy, setDescription, setName, setPolicyUpdated
 

Method Detail

setParameters

public void setParameters(ProvideServiceParameters parameters)
This method sets the parameters for using some service.

Parameters:
parameters - object describing criteria for providing services

getParameters

public ProvideServiceParameters getParameters()
This method returns the parameters for using some service.

Returns:
object describing criteria for providing services

Openwings API Documentation (v1.0)