|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.api.transport.PropertyScope
public final class PropertyScope
A PropertyScope is used to associate a message property with a lifetime. A scope may be very
brief such as INVOCATION
which only lasts until a service has been invoked or longer
running such as SESSION
.
Nested Class Summary | |
---|---|
static class |
PropertyScope.ScopeComparator
Used for comparing PropertyScope instances in a map. |
Field Summary | |
---|---|
static PropertyScope[] |
ALL_SCOPES
An array of all scopes defined here |
static PropertyScope |
APPLICATION
This provides access to properties in the registry. |
static java.lang.String |
APPLICATION_NAME
|
static PropertyScope |
INBOUND
This scope holds all inbound headers when a message is received. |
static java.lang.String |
INBOUND_NAME
|
static PropertyScope |
INVOCATION
This scope is defined from the point that a Message is created until a service has processed the message. |
static java.lang.String |
INVOCATION_NAME
|
static PropertyScope |
OUTBOUND
This is the default scope when writing properties to a message. |
static java.lang.String |
OUTBOUND_NAME
|
static PropertyScope |
SESSION
Defines the scope for any properties set on the session. |
static java.lang.String |
SESSION_NAME
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
static PropertyScope |
get(java.lang.String name)
|
int |
getOrder()
|
java.lang.String |
getScopeName()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INVOCATION_NAME
public static final java.lang.String INBOUND_NAME
public static final java.lang.String OUTBOUND_NAME
public static final java.lang.String SESSION_NAME
public static final java.lang.String APPLICATION_NAME
public static final PropertyScope INVOCATION
public static final PropertyScope INBOUND
public static final PropertyScope OUTBOUND
public static final PropertyScope SESSION
public static final PropertyScope APPLICATION
public static final PropertyScope[] ALL_SCOPES
Method Detail |
---|
public static PropertyScope get(java.lang.String name)
public java.lang.String getScopeName()
public int getOrder()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |