|
||||||||||
| 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 assoaciate a message property with a lifetime. Some scopes may be very brief such as
INVOCATION scope which only lasts until a service has been invoke or a longer running scope 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
|
| Constructor Summary | |
|---|---|
PropertyScope(String scope,
int order)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
getOrder()
|
String |
getScope()
|
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
| Constructor Detail |
|---|
public PropertyScope(String scope,
int order)
| Method Detail |
|---|
public String getScope()
public int getOrder()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||