Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mule.umo.impl
Class MuleDescriptor  view MuleDescriptor download MuleDescriptor.java

java.lang.Object
  extended byorg.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

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:
addProvider in interface org.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:
getExceptionStrategy in interface org.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:
getFactory in interface org.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:
getInboundTransformer in interface org.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:
getMaxOutstandingMessages in interface org.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:
getReceiveEndpoint in interface org.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:
getSendEndpoint in interface org.mule.umo.UMODescriptor

getName

public java.lang.String getName()
Specified by:
getName in interface org.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:
getOutboundTransformer in interface org.mule.transformers.HasTransformer

getProperties

public java.util.Properties getProperties()
Specified by:
getProperties in interface org.mule.umo.UMODescriptor

getProviders

public ProviderList getProviders()
Specified by:
getProviders in interface org.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:
getSelector in interface org.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:
getVersion in interface org.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:
setExceptionStrategy in interface org.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:
setFactory in interface org.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:
setMaxOutstandingMessages in interface org.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:
setReceiveEndpoint in interface org.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:
setSendEndpoint in interface org.mule.umo.UMODescriptor

setName

public void setName(java.lang.String newName)
Specified by:
setName in interface org.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:
setOutboundTransformer in interface org.mule.transformers.HasTransformer

setProperties

public void setProperties(java.util.Properties newProperties)
Specified by:
setProperties in interface org.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:
setSelector in interface org.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:
setVersion in interface org.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:
getInboundProvider in interface org.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:
getOutboundProvider in interface org.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:
setInboundProvider in interface org.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:
setOutboundProvider in interface org.mule.umo.UMODescriptor

setInboundTransformer

public void setInboundTransformer(org.mule.umo.transformer.UMOTransformer transformer)
Specified by:
setInboundTransformer in interface org.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:
addSendChain in interface org.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:
addReceiveChain in interface org.mule.umo.UMODescriptor

getReceiveChain

public java.util.List getReceiveChain()
Specified by:
getReceiveChain in interface org.mule.umo.UMODescriptor

getSendChain

public java.util.List getSendChain()
Specified by:
getSendChain in interface org.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:
getMaxThreadIdle in interface org.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:
getMaxThreadsActive in interface org.mule.umo.UMODescriptor

getMaxThreadWait

public long getMaxThreadWait()
Description copied from interface: org.mule.umo.UMODescriptor
When the whenPoolExhaustedAction is set to 2 WHEN_EXHAUSTED_BLOCK this can specify the maximum milliseconds the pool should block before throwing a NoSuchElementException

Specified by:
getMaxThreadWait in interface org.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:
setMaxThreadIdle in interface org.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:
setMaxThreadsActive in interface org.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_BLOCK this can specify the maximum milliseconds the pool should block before throwing a NoSuchElementException

Specified by:
setMaxThreadWait in interface org.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.)
If a positive maxThreadWait value is supplied, it will block for at most that many milliseconds, after which a NoSuchElementException will be thrown. If maxThraedWait is non-positive, it will block indefinitely.

Specified by:
getWhenPoolExhaustedAction in interface org.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.)
If a positive maxThreadWait value is supplied, it will block for at most that many milliseconds, after which a NoSuchElementException will be thrown. If maxThraedWait is non-positive, it will block indefinitely.

Specified by:
setWhenPoolExhaustedAction in interface org.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:
getLoadOnStartUp in interface org.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:
setLoadOnStartUp in interface org.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()).