Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.muse.core.routing
Interface ResourceIdFactory

All Known Implementing Classes:
  CounterResourceIdFactory, RandomResourceIdFactory

public interface ResourceIdFactory

ResourceIdFactory is an interface for classes that provide a name-value pair that is inserted into a WS-Addressing endpoint reference's set of properties in order to distinguish it from other EPRs that target the same endpoint (the implied resource pattern). The resource creation process uses instances of this interface to provide the resource with a unique EPR. You can set which ResourceIdFactory is used for a resource type using the java-id-factory-class element in muse.xml.

Author:
  Dan Jemiolo (danj)

Method Summary
`QName` | `getIdentifierName()`
`java.lang.String` | `getNextIdentifier()`

Method Detail

### getIdentifierName

    public QName getIdentifierName()

  Returns:
    The name of the WS-A reference property to be added to the resource's EPR for identification.

### getNextIdentifier

    public java.lang.String getNextIdentifier()

  Returns:
    A unique value that has not been used for other manageable resources.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD