cgl.narada.wsinfra.wse.matching
Class MatchingCapabilityFactory

java.lang.Object
  extended by cgl.narada.wsinfra.wse.matching.MatchingCapabilityFactory

public class MatchingCapabilityFactory
extends Object

This is a class which allows users to register their custom engines at run-time. For e.g. there could implementations of this for XPath, XQuery, String Topics and Regular Expressions. Other custom capabilities can be added by the developers and registered at run-time.


Method Summary
 MatchingCapability getCapability(String dialect)
          Retrieves the matching capability corresponding to a specific dialect.
static MatchingCapabilityFactory getInstance()
           
 Enumeration getSupportedDialects()
          Gets the list of dialects registered with this Factory
 boolean isSupportedDialect(String dialect)
          Check to see if capabilities related to a specific dialect has been registered
 void registerMatchingCapability(MatchingCapability matchingCapability)
          Register a specific capability.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MatchingCapabilityFactory getInstance()

getSupportedDialects

public Enumeration getSupportedDialects()
Gets the list of dialects registered with this Factory


isSupportedDialect

public boolean isSupportedDialect(String dialect)
Check to see if capabilities related to a specific dialect has been registered


getCapability

public MatchingCapability getCapability(String dialect)
Retrieves the matching capability corresponding to a specific dialect. If a capability has not been previously registered, a NULL will be returned.


registerMatchingCapability

public void registerMatchingCapability(MatchingCapability matchingCapability)
                                throws DeploymentException
Register a specific capability.

Throws:
DeploymentException


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