System Properties
Two optional system properties may be used to control the configuration of the Transit system. One property provides a mechanisms whereby a remote active transit model can be associated as the confiuration for a local transit instance. A second property is available for selection of a transit profile via url (suitable for centralized configuration of static models).
dpml.transit.model | If this system property is passed as an argument to the Depot console handler (via the transit, metro, or station commandline handlers), Depot will attempt to locate a Transit Model using an RMI registry. If declared the value of the property must be in the form registry[:host[:port]]:name where the name value corresponds to a RMI registry name binding that maps to an instance of a remote TransitModel. |
dpml.transit.profile | If Transit is not initialized within an explicit TransitModel then Transit will attempt to establish a TransitModel using a externalized TransitDirective located at the uri local:xml:dpml/transit/standard. This uri can be overridden using the dpml.transit.profile property enabling the selection of a remote profile. The uri value will be resolved to a url referencing a Transit XML configuration. Overriding the uri enables the possiblity for centralization of multiple Transit configurations. |