|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.bpel.client.AbstractIdentifier
public abstract class AbstractIdentifier
Abstract base class for Orabpel identifiers. This class provides a skeletal implementation of an identifier class, to minimize the effort required to implement sub-classes. An Orabpel identifier is used to locate and identify a process, instance or activity contained within a process domain.
The string representation of the identifier conforms to the URI format (RFC 2396) specified for identifying an abstract or physical resource on the network. The format is:
bpel://<hostname>[:<portnumber>]/<domain-id>/<process-id>[~<revision-tag>][/<key>]
where:
hostname
portnumber
domain-id
process-id
revision-tag
key
Field Summary | |
---|---|
protected com.collaxa.common.util.NonSyncStringBuffer |
mBuf Internal buffer used to update the URI path multiple times. |
protected java.lang.String |
mDomainId |
protected java.lang.String |
mKey |
protected java.lang.String |
mProcessId |
protected java.lang.String |
mRevisionTag |
Constructor Summary | |
---|---|
protected |
AbstractIdentifier() Default constructor. |
|
AbstractIdentifier(java.lang.String strFormat) Constructs an identifier from the string representation of an identifier. |
|
AbstractIdentifier(java.lang.String domainId, java.lang.String processId, java.lang.String key) Constructs an identifier with a domain identifier, process identifier and key. |
|
AbstractIdentifier(java.lang.String domainId, java.lang.String processId, java.lang.String revisionTag, java.lang.String key) Constructs an identifier with a domain identifier, process identifier, revision tag and key. |
Method Summary | |
---|---|
java.lang.String |
getDomainId() Returns the domain identifier. |
java.lang.String |
getInstanceId() Returns the instance id from the system key in String format. |
java.lang.String |
getKey() Returns the system key. |
java.lang.String |
getProcessId() Returns the process identifier. |
java.lang.String |
getRevisionTag() Returns the revision tag. |
boolean |
hasKey() Returns true if this identifier has been constructed with a system key component. |
java.lang.String |
toString() Returns a string representation of this identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mDomainId
protected java.lang.String mProcessId
protected java.lang.String mRevisionTag
protected java.lang.String mKey
protected com.collaxa.common.util.NonSyncStringBuffer mBuf
Constructor Detail |
---|
protected AbstractIdentifier()
public AbstractIdentifier(java.lang.String domainId, java.lang.String processId, java.lang.String revisionTag, java.lang.String key)
domainId
- the Orabpel domain id; if null
is passed, the domain identifier will default to "unknown".processId
- the process identifier; if null
is passed, the process identifier will default to "*".revisionTag
- the process revision tag; this parameter is optional so null
can be passed in.key
- the system key used by the process domain to identify the activity or instance.public AbstractIdentifier(java.lang.String domainId, java.lang.String processId, java.lang.String key)
domainId
- the Orabpel domain id; if null
is passed, the domain identifier will default to "unknown".processId
- the process identifier; if null
is passed, the process identifier will default to "*".key
- the system key used by the process domain to identify the activity or instance.public AbstractIdentifier(java.lang.String strFormat)
domain-id
process-id
revision-tag
key
strFormat
- the string representation of an identifierMethod Detail |
---|
public final java.lang.String getDomainId()
public final java.lang.String getProcessId()
public final java.lang.String getRevisionTag()
null
if this identifier has been constructed without a revision tag.public final java.lang.String getKey()
public java.lang.String getInstanceId()
null
is returned.public java.lang.String toString()
bpel://<hostname>[:<portnumber>]/<domain-id>/<process-id>[~<revision-tag>][/<key>]where:
hostname
portnumber
domain-id
process-id
revision-tag
key
toString
in class java.lang.Object
public final boolean hasKey()
true
if this identifier has been constructed with a system key component.
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |