cgl.narada.wsinfra.wsrm.storage.impl
Class WsrmPolicyStorageOperationsImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsrm.storage.impl.WsrmPolicyStorageOperationsImpl
All Implemented Interfaces:
WsrmPolicyStorageOperations

public class WsrmPolicyStorageOperationsImpl
extends Object
implements WsrmPolicyStorageOperations

This is the interface used to check if sequence policies based on sequence prefixes have been registered. If there is a match with the newly created sequence, and this sequence DOES NOT have a sequence policies info, we use the default policies that have been previously registered.


Constructor Summary
WsrmPolicyStorageOperationsImpl()
           
WsrmPolicyStorageOperationsImpl(Connection connection)
           
 
Method Summary
 String[] getSequencePrefixes()
          Retrieve the list of sequence prefixes
 WsrmSequencePolicies getWsrmSequencePolicies(String prefix)
          Retrieves a WsrmSequencePolicies associated with the specified prefix
 void storePolicyInformation(String prefix, WsrmSequencePolicies wsrmSequencePolicies)
          Stores a WsrmSequencePolicies document based on the specified prefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsrmPolicyStorageOperationsImpl

public WsrmPolicyStorageOperationsImpl()

WsrmPolicyStorageOperationsImpl

public WsrmPolicyStorageOperationsImpl(Connection connection)
Method Detail

storePolicyInformation

public void storePolicyInformation(String prefix,
                                   WsrmSequencePolicies wsrmSequencePolicies)
                            throws WsrmStorageException
Stores a WsrmSequencePolicies document based on the specified prefix

Specified by:
storePolicyInformation in interface WsrmPolicyStorageOperations
Throws:
WsrmStorageException

getSequencePrefixes

public String[] getSequencePrefixes()
                             throws WsrmStorageException
Retrieve the list of sequence prefixes

Specified by:
getSequencePrefixes in interface WsrmPolicyStorageOperations
Throws:
WsrmStorageException

getWsrmSequencePolicies

public WsrmSequencePolicies getWsrmSequencePolicies(String prefix)
                                             throws WsrmStorageException
Retrieves a WsrmSequencePolicies associated with the specified prefix

Specified by:
getWsrmSequencePolicies in interface WsrmPolicyStorageOperations
Throws:
WsrmStorageException


For comments and suggestions please send e-mail to The NaradaBrokering Project