DPML
DPML Metro Component Type Parts Datatype
HomeUtilitiesStationMetroDepotTransit
Info Element
Description

The info element holds the component type name, details about a component lifestyle policy, garbage collection policy, and thread-safe capability.

Attributes
name The component name.
class The component implementation classname.
lifestyle The component lifestyle. Allowable values include singleton, thread, and transient. A component declaring the singleton lifestyle may be shared across all consumers within the JVM (i.e. the potential for concurrent access will exist). A component declaring the thread lifestyle policy may have a set of instances corresponding to the number of threads requesting access. A component declaring the transient lifestyle will instantiated for each access request. The default lifestyle policy is thread.
collection The component garbage collection policy. Allowable values include weak, soft and hard. A component type declaring a weak collection policy will be garbage collected at the discretion of the JVM. A component declaring a soft collection policy will be garbage collected in the event of memory contention. A component declaring the hard collection policy will remain in memory for the lifetime of the JVM unless explicitly removed via a management system or controlling application.
threadsafe Declares the component implementation as threadsafe. Allowable values are true or false.
Nested Elements

The info element may contain any number of the property elements.

property Declaration of a named value pair.