IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.wsspi.classify
RuleManager



This interface defines the top-level SPI for interacting with the rules classifications engine.

More specifically, the rules manager provides SPI to:




Method Summary
public  RuleLanguagegetDialect(java.lang.String)
           Gets the dialect for this protocol. There is a common language with slight .
public  RuleLanguagegetDialect()
           Gets the dialect for this protocol. There is a common language with slight .
public  StringgetSupportedProtocolScopes()
           Gets the array of supported protocol scopes. This is how a caller discovers what.
public  PolicyProvidersgetPolicyProviders()
           Gets policy providers.

Method Detail

getDialect

public RuleLanguage getDialect(String aProtocolScope)
Gets the dialect for this protocol. There is a common language with slight variations among the various protocols. An exception is thrown if the protocol does not exists.
Parameters:
    aProtocolScope - The name of the protocol scope whose dialect is sought. For example, 'web', 'ws', or 'ejb'.


Returns:
     The rule language object, or throw an exception if it does not exist.


Throws:
    com.ibm.wsspi.classify.ClassificationException


getDialect

public RuleLanguage getDialect()
Gets the dialect for this protocol. There is a common language with slight variations among the various protocols. An exception is thrown if the protocol does not exists. The protocol scope must have been set prior to this.


Returns:
     The rule language object, or throw an exception if it does not exist.


Throws:
    com.ibm.wsspi.classify.ClassificationException


getSupportedProtocolScopes

public String getSupportedProtocolScopes()
Gets the array of supported protocol scopes. This is how a caller discovers what protocols scopes the rule manager supports. Subsequent calls to the rule manager may require the values from this call as input.


Returns:
     array of protocol scope names.


getPolicyProviders

public PolicyProviders getPolicyProviders()
Gets policy providers.


Returns:
     policy provider object.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0