org.apache.qpid.management.wsdm.common
Class QManResourceIdFactory

java.lang.Object
  extended by org.apache.qpid.management.wsdm.common.QManResourceIdFactory
All Implemented Interfaces:
org.apache.muse.core.routing.ResourceIdFactory

public class QManResourceIdFactory
extends Object
implements org.apache.muse.core.routing.ResourceIdFactory

A simple implementation of resource id factory that uses a UUID as resource identifier.


Constructor Summary
QManResourceIdFactory()
           
 
Method Summary
 QName getIdentifierName()
          Returns the identifier name for id element.
 String getNextIdentifier()
          Returns the next valid identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QManResourceIdFactory

public QManResourceIdFactory()
Method Detail

getIdentifierName

public QName getIdentifierName()
Returns the identifier name for id element.

Specified by:
getIdentifierName in interface org.apache.muse.core.routing.ResourceIdFactory
Returns:
the identifier name for id element.

getNextIdentifier

public String getNextIdentifier()
Returns the next valid identifier.

Specified by:
getNextIdentifier in interface org.apache.muse.core.routing.ResourceIdFactory
Returns:
the next valid identifier.


Licensed to the Apache Software Foundation