|
||||||||||
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 String |
APPLICATION_NAME
|
static PropertyScope |
INBOUND
This scope holds all inbound headers when a message is received. |
static 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 String |
INVOCATION_NAME
|
static PropertyScope |
OUTBOUND
This is the default scope when writing properties to a message. |
static String |
OUTBOUND_NAME
|
static PropertyScope |
SESSION
Defines the scope for any properties set on the session. |
static String |
SESSION_NAME
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
static PropertyScope |
get(String name)
|
int |
getOrder()
|
String |
getScopeName()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String INVOCATION_NAME
public static final String INBOUND_NAME
public static final String OUTBOUND_NAME
public static final String SESSION_NAME
public static final 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(String name)
public String getScopeName()
public int getOrder()
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |