public class CorrelationControler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELIM |
static java.lang.String |
ESCAPE |
Constructor and Description |
---|
CorrelationControler()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
endCorrelationSphere(java.lang.String id)
Ends the current correlation sphere and its associated
(nested) workarea.
|
static javax.naming.Context |
getContext()
Gets a context for use with JNDI lookups.
|
java.lang.String |
getCurrentSphereID()
Return the current correlation sphere identifier.
|
java.lang.String |
getParentSphereID()
Return the previous correlation sphere identifier.
|
java.io.Serializable |
getProperty(java.lang.String key)
Get the property with the specified key from the correlation context
|
void |
openNewCorrelationSphere(java.lang.String id)
Associate a new instance of a correlation sphere with the
current thread.
|
void |
removeProperty(java.lang.String key)
Removes the property with the specified key from the correlation context
|
void |
setProperty(java.lang.String key,
java.io.Serializable value)
Sets the property in the correlation context using the specified key
and value
|
public static final java.lang.String DELIM
public static final java.lang.String ESCAPE
public void openNewCorrelationSphere(java.lang.String id) throws com.ibm.websphere.CorrelationSphere.InvalidParameterException, com.ibm.websphere.CorrelationSphere.NoActiveContextException
id
- The identifier for this new correlation sphere.InvalidParameterException
NoActiveContextException
public void endCorrelationSphere(java.lang.String id) throws com.ibm.websphere.CorrelationSphere.InvalidParameterException
id
- The identifier for this correlation sphere.InvalidParameterException
public java.lang.String getCurrentSphereID()
public java.lang.String getParentSphereID()
public static javax.naming.Context getContext() throws com.ibm.websphere.CorrelationSphere.NoContextException
NoContextException
public void setProperty(java.lang.String key, java.io.Serializable value) throws com.ibm.websphere.CorrelationSphere.ReadonlyPropertyException, com.ibm.websphere.CorrelationSphere.NoActiveContextException
key
- A string that identifies the propertyvalue
- The non-null serializable value of the propertyReadonlyPropertyException
NoActiveContextException
public java.io.Serializable getProperty(java.lang.String key) throws com.ibm.websphere.CorrelationSphere.InvalidParameterException
key
- Identifies the property whose value is requested.InvalidParameterException
public void removeProperty(java.lang.String key) throws com.ibm.websphere.CorrelationSphere.InvalidParameterException, com.ibm.websphere.CorrelationSphere.FixedPropertyException
key
- Identifies the property whose value is requested.InvalidParameterException
FixedPropertyException