|
|||||||||
| Home >> All >> org >> mule >> umo >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mule.umo.impl
Class MuleDescriptor

java.lang.Objectorg.mule.umo.impl.MuleDescriptor
- All Implemented Interfaces:
- org.mule.transformers.HasTransformer, org.mule.umo.UMODescriptor
- public class MuleDescriptor
- extends java.lang.Object
- implements org.mule.umo.UMODescriptor
- extends java.lang.Object
MuleDescriptor describes all the properties for a Mule UMO. New Mule UMOs
can be initialised as needed from their descriptor.
- Version:
- $Revision: 1.2 $
| Field Summary | |
private org.mule.umo.UMOExceptionStrategy |
exceptionStrategy
holds the exception stategy for this UMO |
private org.mule.umo.UMOFactory |
factory
The factory used to create the Mule UMO instance |
private org.mule.umo.transformer.UMOTransformer |
inTransformer
The transformer for the default receive provider |
private byte |
loadOnStartUp
The action to perform when initialising the Mule UMO pool |
private static org.apache.commons.logging.Log |
log
logger used by this class |
private int |
maxOutstandingMessages
The maximum number of messages that can be queue for a particular UMO |
private int |
maxThreadIdle
The maximum number of instances of this Mule UMO that can be idle in a session |
private int |
maxThreadsActive
The maximum number of instances of this Mule UMO that can be active in a session |
private long |
maxThreadWait
The maximum length of time to block while waiting for a Mule UMO instance |
protected static java.lang.String |
MULE_PROPERTY_DOT_PROPERTIES
Property that allows for a property file to be used to load properties instead of listing them directly in the mule-configuration file |
private java.lang.String |
name
The descriptor name |
static int |
NOT_SET_VALUE
The default value for numerical attributes who's value have not been set |
private org.mule.umo.transformer.UMOTransformer |
outTransformer
The transformer for the default send provider |
private java.util.Properties |
properties
The properties for the Mule UMO |
private ProviderList |
providers
The list of all providers registered for the Mule UMO |
private java.util.List |
receiveChain
A list of UMOChain object that will be executed before the Mule UMO has executed |
private java.lang.String |
receiveEndpoint
The receive endpoint for the default receive provider |
private java.lang.String |
selector
The selector used by the Mule UMO when receiving events |
private java.util.List |
sendChain
A list of UMOChain object that will be executed after the Mule UMO has executed |
private java.lang.String |
sendEndpoint
The send endpoint for the default send provider |
private long |
version
The descriptors version |
private byte |
whenPoolExhaustedAction
The action to perform when there are no more Mule UMO instances available in the pool |
| Fields inherited from interface org.mule.umo.UMODescriptor |
LOAD_ALL_ON_STARTUP, LOAD_FIRST_ON_STARTUP, LOAD_NONE_ON_STARTUP |
| Constructor Summary | |
MuleDescriptor()
Default constructor. |
|
| Method Summary | |
void |
addProvider(MuleProviderDescriptor newProvider)
Adds a provider to the descriptor. |
void |
addReceiveChain(org.mule.umo.UMOChain chain)
UMOChains are executable objects that can be chained together. |
void |
addSendChain(org.mule.umo.UMOChain chain)
UMOChains are executable objects that can be chained together. |
org.mule.umo.UMOExceptionStrategy |
getExceptionStrategy()
The exception strategy to use to handle exceptions in the Mule UMO. |
org.mule.umo.UMOFactory |
getFactory()
The factory used to create the Mule UMO from the descriptor |
MuleProviderDescriptor |
getInboundProvider()
The inbound Provider to use when receiveing an event. |
org.mule.umo.transformer.UMOTransformer |
getInboundTransformer()
The transformer to use when receiving events or data. |
byte |
getLoadOnStartUp()
Controls the behaviour when initialising the Mule pool within a session. |
org.mule.MuleManager |
getManager()
|
int |
getMaxOutstandingMessages()
This specifies the number of messages that can be queued for this component before it starts blocking. |
int |
getMaxThreadIdle()
Controls the maximum number of Mule UMOs that can sit idle in the pool at any time. |
int |
getMaxThreadsActive()
Controls the maximum number of Mule UMOs that can be borrowed from a Session at one time. |
long |
getMaxThreadWait()
When the whenPoolExhaustedAction is set to 2 WHEN_EXHAUSTED_BLOCK this can specify the
maximum milliseconds the pool should block before throwing a NoSuchElementException |
java.lang.String |
getName()
|
MuleProviderDescriptor |
getOutboundProvider()
The outbound Provider to use when sending an event. |
org.mule.umo.transformer.UMOTransformer |
getOutboundTransformer()
The transformer to use when sending events or data. |
java.util.Properties |
getProperties()
|
ProviderList |
getProviders()
|
java.util.List |
getReceiveChain()
|
java.lang.String |
getReceiveEndpoint()
The default subject that the Mule UMO receives events on. |
java.lang.String |
getSelector()
A fully qualified classname of a selector to use with this component. |
java.util.List |
getSendChain()
|
java.lang.String |
getSendEndpoint()
The default subject that the Mule UMO sends events. |
long |
getVersion()
The version on the Mule UMO. |
byte |
getWhenPoolExhaustedAction()
Specifies the behaviour of the Mule UMO pool when the pool is exhausted: 0 (WHEN_EXHAUSTED_FAIL) : will throw a NoSuchElementException 1 (WHEN_EXHAUSTED_BLOCK): will block (invoke Object.wait(long)) until a new or idle object is available. 2 (WHEN_EXHAUSTED_GROW) : will create a new Mule UMO and return it(essentially making maxActive meaningless.) If a positive maxThreadWait value is supplied, it will block for at most that many milliseconds, after which a NoSuchElementException will be thrown. |
void |
setExceptionStrategy(org.mule.umo.UMOExceptionStrategy exceptionStrategy)
The exception strategy to use to handle exceptions in the Mule UMO. |
void |
setFactory(org.mule.umo.UMOFactory factory)
The factory used to create the Mule UMO from the descriptor |
void |
setInboundProvider(MuleProviderDescriptor provider)
The inbound Provider to use when receiveing an event. |
void |
setInboundTransformer(org.mule.umo.transformer.UMOTransformer transformer)
|
void |
setLoadOnStartUp(byte action)
Controls the behaviour when initialising the Mule pool within a session. |
void |
setMaxOutstandingMessages(int mesgs)
This specifies the number of messages that can be queued for this component before it starts blocking. |
void |
setMaxThreadIdle(int idleThreads)
Controls the maximum number of Mule UMOs that can sit idle in the pool at any time. |
void |
setMaxThreadsActive(int activeThreads)
Controls the maximum number of Mule UMOs that can be borrowed from a Session at one time. |
void |
setMaxThreadWait(long waitTime)
When the whenPoolExhaustedAction is set to 2 WHEN_EXHAUSTED_BLOCK this can specify the
maximum milliseconds the pool should block before throwing a NoSuchElementException |
void |
setName(java.lang.String newName)
|
void |
setOutboundProvider(MuleProviderDescriptor provider)
The outbound Provider to use when sending an event. |
void |
setOutboundTransformer(org.mule.umo.transformer.UMOTransformer transformer)
The transformer to use when sending events or data. |
void |
setProperties(java.util.Properties newProperties)
|
void |
setReceiveEndpoint(java.lang.String receiveEndpoint)
The default subject that the Mule UMO receives events on. |
void |
setSelector(java.lang.String newSelector)
A fully qualified classname of a selector to use with this component. |
void |
setSendEndpoint(java.lang.String sendEndpoint)
The default subject that the Mule UMO sends events. |
void |
setVersion(long ver)
The version on the Mule UMO. |
void |
setWhenPoolExhaustedAction(byte action)
Specifies the behaviour of the Mule UMO pool when the pool is exhausted: 0 (WHEN_EXHAUSTED_FAIL) : will throw a NoSuchElementException 1 (WHEN_EXHAUSTED_BLOCK): will block (invoke Object.wait(long)) until a new or idle object is available. 2 (WHEN_EXHAUSTED_GROW) : will create a new Mule UMO and return it(essentially making maxActive meaningless.) If a positive maxThreadWait value is supplied, it will block for at most that many milliseconds, after which a NoSuchElementException will be thrown. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
MULE_PROPERTY_DOT_PROPERTIES
protected static final java.lang.String MULE_PROPERTY_DOT_PROPERTIES
- Property that allows for a property file to be used to load properties
instead of listing them directly in the mule-configuration file
- See Also:
- Constant Field Values
NOT_SET_VALUE
public static final int NOT_SET_VALUE
- The default value for numerical attributes who's value have not been set
- See Also:
- Constant Field Values
log
private static transient org.apache.commons.logging.Log log
- logger used by this class
exceptionStrategy
private org.mule.umo.UMOExceptionStrategy exceptionStrategy
- holds the exception stategy for this UMO
factory
private org.mule.umo.UMOFactory factory
- The factory used to create the Mule UMO instance
inTransformer
private org.mule.umo.transformer.UMOTransformer inTransformer
- The transformer for the default receive provider
sendEndpoint
private java.lang.String sendEndpoint
- The send endpoint for the default send provider
receiveEndpoint
private java.lang.String receiveEndpoint
- The receive endpoint for the default receive provider
name
private java.lang.String name
- The descriptor name
outTransformer
private org.mule.umo.transformer.UMOTransformer outTransformer
- The transformer for the default send provider
properties
private java.util.Properties properties
- The properties for the Mule UMO
providers
private ProviderList providers
- The list of all providers registered for the Mule UMO
selector
private java.lang.String selector
- The selector used by the Mule UMO when receiving events
version
private long version
- The descriptors version
sendChain
private java.util.List sendChain
- A list of UMOChain object that will be executed after the Mule UMO has executed
receiveChain
private java.util.List receiveChain
- A list of UMOChain object that will be executed before the Mule UMO has executed
maxOutstandingMessages
private int maxOutstandingMessages
- The maximum number of messages that can be queue for a particular UMO
maxThreadsActive
private int maxThreadsActive
- The maximum number of instances of this Mule UMO that can be active in a session
maxThreadIdle
private int maxThreadIdle
- The maximum number of instances of this Mule UMO that can be idle in a session
maxThreadWait
private long maxThreadWait
- The maximum length of time to block while waiting for a Mule UMO instance
whenPoolExhaustedAction
private byte whenPoolExhaustedAction
- The action to perform when there are no more Mule UMO instances available in the pool
loadOnStartUp
private byte loadOnStartUp
- The action to perform when initialising the Mule UMO pool
| Constructor Detail |
MuleDescriptor
public MuleDescriptor()
- Default constructor. Initalises common properties for the MuleConfiguration object
| Method Detail |
addProvider
public void addProvider(MuleProviderDescriptor newProvider)
- Description copied from interface:
org.mule.umo.UMODescriptor - Adds a provider to the descriptor. It is possible to add many send and
receive providers to a Mule UMO. It is common to add multiple
receive providers to a component so that data can be received from
multiple sources. However, adding more than one send provider to a Mule UMO
will complicate code as it is up to the developer to decide which send
provider to send an event on, otherwise the default provider will always
be used.
- Specified by:
addProviderin interfaceorg.mule.umo.UMODescriptor
getExceptionStrategy
public org.mule.umo.UMOExceptionStrategy getExceptionStrategy()
- Description copied from interface:
org.mule.umo.UMODescriptor - The exception strategy to use to handle exceptions in the Mule UMO.
- Specified by:
getExceptionStrategyin interfaceorg.mule.umo.UMODescriptor
getFactory
public org.mule.umo.UMOFactory getFactory()
- Description copied from interface:
org.mule.umo.UMODescriptor - The factory used to create the Mule UMO from the descriptor
- Specified by:
getFactoryin interfaceorg.mule.umo.UMODescriptor
getInboundTransformer
public org.mule.umo.transformer.UMOTransformer getInboundTransformer()
- Description copied from interface:
org.mule.transformers.HasTransformer - The transformer to use when receiving events or data.
- Specified by:
getInboundTransformerin interfaceorg.mule.transformers.HasTransformer
getManager
public org.mule.MuleManager getManager()
getMaxOutstandingMessages
public int getMaxOutstandingMessages()
- Description copied from interface:
org.mule.umo.UMODescriptor - This specifies the number of messages that can be queued for this component before it starts
blocking.
- Specified by:
getMaxOutstandingMessagesin interfaceorg.mule.umo.UMODescriptor
getReceiveEndpoint
public java.lang.String getReceiveEndpoint()
- Description copied from interface:
org.mule.umo.UMODescriptor - The default subject that the Mule UMO receives events on.
- Specified by:
getReceiveEndpointin interfaceorg.mule.umo.UMODescriptor
getSendEndpoint
public java.lang.String getSendEndpoint()
- Description copied from interface:
org.mule.umo.UMODescriptor - The default subject that the Mule UMO sends events.
- Specified by:
getSendEndpointin interfaceorg.mule.umo.UMODescriptor
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.mule.umo.UMODescriptor
getOutboundTransformer
public org.mule.umo.transformer.UMOTransformer getOutboundTransformer()
- Description copied from interface:
org.mule.transformers.HasTransformer - The transformer to use when sending events or data.
- Specified by:
getOutboundTransformerin interfaceorg.mule.transformers.HasTransformer
getProperties
public java.util.Properties getProperties()
- Specified by:
getPropertiesin interfaceorg.mule.umo.UMODescriptor
getProviders
public ProviderList getProviders()
- Specified by:
getProvidersin interfaceorg.mule.umo.UMODescriptor
getSelector
public java.lang.String getSelector()
- Description copied from interface:
org.mule.umo.UMODescriptor - A fully qualified classname of a selector to use with this component. A selector
acts as an event filter that will allow a MuleUMO to only receive certain events
on an internal receive subject. If there is no MuleUMO components accepting a
particular event in the system, Mule will throw an exception or forward that event
'rogue-events' bin.
This functionality has not been implemented yet
- Specified by:
getSelectorin interfaceorg.mule.umo.UMODescriptor
getVersion
public long getVersion()
- Description copied from interface:
org.mule.umo.UMODescriptor - The version on the Mule UMO. This is currently not used by the mule run-time but may
be used in future.
- Specified by:
getVersionin interfaceorg.mule.umo.UMODescriptor
setExceptionStrategy
public void setExceptionStrategy(org.mule.umo.UMOExceptionStrategy exceptionStrategy)
- Description copied from interface:
org.mule.umo.UMODescriptor - The exception strategy to use to handle exceptions in the Mule UMO.
- Specified by:
setExceptionStrategyin interfaceorg.mule.umo.UMODescriptor
setFactory
public void setFactory(org.mule.umo.UMOFactory factory)
- Description copied from interface:
org.mule.umo.UMODescriptor - The factory used to create the Mule UMO from the descriptor
- Specified by:
setFactoryin interfaceorg.mule.umo.UMODescriptor
setMaxOutstandingMessages
public void setMaxOutstandingMessages(int mesgs)
- Description copied from interface:
org.mule.umo.UMODescriptor - This specifies the number of messages that can be queued for this component before it starts
blocking.
- Specified by:
setMaxOutstandingMessagesin interfaceorg.mule.umo.UMODescriptor
setReceiveEndpoint
public void setReceiveEndpoint(java.lang.String receiveEndpoint)
- Description copied from interface:
org.mule.umo.UMODescriptor - The default subject that the Mule UMO receives events on.
- Specified by:
setReceiveEndpointin interfaceorg.mule.umo.UMODescriptor
setSendEndpoint
public void setSendEndpoint(java.lang.String sendEndpoint)
- Description copied from interface:
org.mule.umo.UMODescriptor - The default subject that the Mule UMO sends events.
- Specified by:
setSendEndpointin interfaceorg.mule.umo.UMODescriptor
setName
public void setName(java.lang.String newName)
- Specified by:
setNamein interfaceorg.mule.umo.UMODescriptor
setOutboundTransformer
public void setOutboundTransformer(org.mule.umo.transformer.UMOTransformer transformer)
- Description copied from interface:
org.mule.transformers.HasTransformer - The transformer to use when sending events or data.
- Specified by:
setOutboundTransformerin interfaceorg.mule.transformers.HasTransformer
setProperties
public void setProperties(java.util.Properties newProperties)
- Specified by:
setPropertiesin interfaceorg.mule.umo.UMODescriptor
setSelector
public void setSelector(java.lang.String newSelector)
- Description copied from interface:
org.mule.umo.UMODescriptor - A fully qualified classname of a selector to use with this component. A selector
acts as an event filter that will allow a MuleUMO to only receive certain events
on an internal receive subject. If there is no MuleUMO components accepting a
particular event in the system, Mule will throw an exception or forward that event
'rogue-events' bin.
This functionality has not been implemented yet
- Specified by:
setSelectorin interfaceorg.mule.umo.UMODescriptor
setVersion
public void setVersion(long ver)
- Description copied from interface:
org.mule.umo.UMODescriptor - The version on the Mule UMO. This is currently not used by the mule run-time but may
be used in future.
- Specified by:
setVersionin interfaceorg.mule.umo.UMODescriptor
getInboundProvider
public MuleProviderDescriptor getInboundProvider()
- Description copied from interface:
org.mule.umo.UMODescriptor - The inbound Provider to use when receiveing an event.
- Specified by:
getInboundProviderin interfaceorg.mule.umo.UMODescriptor
getOutboundProvider
public MuleProviderDescriptor getOutboundProvider()
- Description copied from interface:
org.mule.umo.UMODescriptor - The outbound Provider to use when sending an event.
- Specified by:
getOutboundProviderin interfaceorg.mule.umo.UMODescriptor
setInboundProvider
public void setInboundProvider(MuleProviderDescriptor provider) throws org.mule.MuleException
- Description copied from interface:
org.mule.umo.UMODescriptor - The inbound Provider to use when receiveing an event.
- Specified by:
setInboundProviderin interfaceorg.mule.umo.UMODescriptor
setOutboundProvider
public void setOutboundProvider(MuleProviderDescriptor provider) throws org.mule.MuleException
- Description copied from interface:
org.mule.umo.UMODescriptor - The outbound Provider to use when sending an event.
- Specified by:
setOutboundProviderin interfaceorg.mule.umo.UMODescriptor
setInboundTransformer
public void setInboundTransformer(org.mule.umo.transformer.UMOTransformer transformer)
- Specified by:
setInboundTransformerin interfaceorg.mule.transformers.HasTransformer
addSendChain
public void addSendChain(org.mule.umo.UMOChain chain)
- Description copied from interface:
org.mule.umo.UMODescriptor - UMOChains are executable objects that can be chained together.
A chain object added as a sendChain will execute after the Mule UMO created
with this descriptor executes.
Chain elements are executed in the reverse order they are added, for example
if CHAIN_1 is added and then CHAIN_2 is added to MuleUMO_A the execution order
will be: MuleUMO_A -> CHAIN_2 -> CHAIN_1.
- Specified by:
addSendChainin interfaceorg.mule.umo.UMODescriptor
addReceiveChain
public void addReceiveChain(org.mule.umo.UMOChain chain)
- Description copied from interface:
org.mule.umo.UMODescriptor - UMOChains are executable objects that can be chained together.
A chain object added as a receiveChain will execute before the Mule UMO created
with this descriptor executes.
Chain elements are executed in the order they are added, for example
if CHAIN_1 is added and then CHAIN_2 is added to MuleUMO_A the execution order
will be: CHAIN_1 -> CHAIN_2 -> MuleUMO_A.
- Specified by:
addReceiveChainin interfaceorg.mule.umo.UMODescriptor
getReceiveChain
public java.util.List getReceiveChain()
- Specified by:
getReceiveChainin interfaceorg.mule.umo.UMODescriptor
getSendChain
public java.util.List getSendChain()
- Specified by:
getSendChainin interfaceorg.mule.umo.UMODescriptor
getMaxThreadIdle
public int getMaxThreadIdle()
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the maximum number of Mule UMOs that can sit idle in the pool at any time. When non-positive,
there is no limit to the number of Mule UMOs that may be idle at one time.
You can specify this value on the descriptor declaration. If none is set this value
will be used. If this value is not set then a system default of '10' will be used.
- Specified by:
getMaxThreadIdlein interfaceorg.mule.umo.UMODescriptor
getMaxThreadsActive
public int getMaxThreadsActive()
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the maximum number of Mule UMOs that can be borrowed from a Session at one time.
When non-positive, there is no limit to the number of components that may be active at one time.
When maxActive is exceeded, the pool is said to be exhausted.
You can specify this value on the descriptor declaration. If none is set this value
will be used. If this value is not set then a system default of '10' will be used.
- Specified by:
getMaxThreadsActivein interfaceorg.mule.umo.UMODescriptor
getMaxThreadWait
public long getMaxThreadWait()
- Description copied from interface:
org.mule.umo.UMODescriptor - When the whenPoolExhaustedAction is set to 2
WHEN_EXHAUSTED_BLOCKthis can specify the maximum milliseconds the pool should block before throwing aNoSuchElementException- Specified by:
getMaxThreadWaitin interfaceorg.mule.umo.UMODescriptor
setMaxThreadIdle
public void setMaxThreadIdle(int idleThreads)
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the maximum number of Mule UMOs that can sit idle in the pool at any time. When non-positive,
there is no limit to the number of Mule UMOs that may be idle at one time.
You can specify this value on the descriptor declaration. If none is set this value
will be used. If this value is not set then a system default of '10' will be used.
- Specified by:
setMaxThreadIdlein interfaceorg.mule.umo.UMODescriptor
setMaxThreadsActive
public void setMaxThreadsActive(int activeThreads)
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the maximum number of Mule UMOs that can be borrowed from a Session at one time.
When non-positive, there is no limit to the number of components that may be active at one time.
When maxActive is exceeded, the pool is said to be exhausted.
You can specify this value on the descriptor declaration. If none is set this value
will be used. If this value is not set then a system default of '10' will be used.
- Specified by:
setMaxThreadsActivein interfaceorg.mule.umo.UMODescriptor
setMaxThreadWait
public void setMaxThreadWait(long waitTime)
- Description copied from interface:
org.mule.umo.UMODescriptor - When the whenPoolExhaustedAction is set to 2
WHEN_EXHAUSTED_BLOCKthis can specify the maximum milliseconds the pool should block before throwing aNoSuchElementException- Specified by:
setMaxThreadWaitin interfaceorg.mule.umo.UMODescriptor
getWhenPoolExhaustedAction
public byte getWhenPoolExhaustedAction()
- Description copied from interface:
org.mule.umo.UMODescriptor - Specifies the behaviour of the Mule UMO pool when the pool is exhausted:
- 0 (WHEN_EXHAUSTED_FAIL) : will throw a NoSuchElementException
- 1 (WHEN_EXHAUSTED_BLOCK): will block (invoke Object.wait(long)) until a new or idle object is available.
- 2 (WHEN_EXHAUSTED_GROW) : will create a new Mule UMO and return it(essentially making maxActive meaningless.)
- Specified by:
getWhenPoolExhaustedActionin interfaceorg.mule.umo.UMODescriptor
setWhenPoolExhaustedAction
public void setWhenPoolExhaustedAction(byte action)
- Description copied from interface:
org.mule.umo.UMODescriptor - Specifies the behaviour of the Mule UMO pool when the pool is exhausted:
- 0 (WHEN_EXHAUSTED_FAIL) : will throw a NoSuchElementException
- 1 (WHEN_EXHAUSTED_BLOCK): will block (invoke Object.wait(long)) until a new or idle object is available.
- 2 (WHEN_EXHAUSTED_GROW) : will create a new Mule UMO and return it(essentially making maxActive meaningless.)
- Specified by:
setWhenPoolExhaustedActionin interfaceorg.mule.umo.UMODescriptor
getLoadOnStartUp
public byte getLoadOnStartUp()
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the behaviour when initialising the Mule pool within a session.
- 0 (LOAD_NONE_ON_STARTUP) : will create Mule UMOs and put them in the pool as they are needed.
- 1 (LOAD_FIRST_ON_STARTUP): Will create a single Mule UMO and put it in the pool on startup.
- 2 (LOAD_ALL_ON_STARTUP) : Will create a number Mule UMO and put it in the pool on startup equal to the MaxThreadsActive property.
- Specified by:
getLoadOnStartUpin interfaceorg.mule.umo.UMODescriptor
setLoadOnStartUp
public void setLoadOnStartUp(byte action)
- Description copied from interface:
org.mule.umo.UMODescriptor - Controls the behaviour when initialising the Mule pool within a session.
- 0 (LOAD_NONE_ON_STARTUP) : will create Mule UMOs and put them in the pool as they are needed.
- 1 (LOAD_FIRST_ON_STARTUP): Will create a single Mule UMO and put it in the pool on startup.
- 2 (LOAD_ALL_ON_STARTUP) : Will create a number Mule UMO and put it in the pool on startup equal to the MaxThreadsActive property.
- Specified by:
setLoadOnStartUpin interfaceorg.mule.umo.UMODescriptor
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> mule >> umo >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mule.umo.impl.MuleDescriptor