
public abstract class ModelFactory extends Object
Model singleton.| Constructor and Description |
|---|
ModelFactory() |
public ModelFactory()
public static Model getModel()
Model singleton.
By default this class will instantiate a new instance and hold it in
a static class variable as the singleton to return for other calls. This
behaviour can be changed by setting a system property with key
org.jdtaus.core.container.ModelFactory to the name of a
class defining a public static Model getModel() method
returning the singleton instance of the model.
Model instance.ModelError - for unrecoverable model errors.newModel()public static Model newModel()
Model implementation.
The implementation to be used can be controlled via a system property
with key org.jdtaus.core.container.Model set to a class
name to be loaded as the Model implementation.
This method should be used by getModel() implementors to
retrieve a new Model instance.
Model implementation.ModelError - for unrecoverable model errors.Copyright © 2005-2012 jDTAUS. All Rights Reserved.