Package org.deckfour.xes.factory
Class XFactoryRegistry
- java.lang.Object
-
- org.deckfour.xes.util.XRegistry<XFactory>
-
- org.deckfour.xes.factory.XFactoryRegistry
-
public class XFactoryRegistry extends XRegistry<XFactory>
XModelFactoryRegistry is the most important integration point for external contributors, aside from the extension infrastructure. This singleton class serves as a system-wide registry for XES factory implementations. It provides a current, i.e. standard, factory implementation, which can be switched by applications. This factory will be used in any internal places, e.g., for creating models from reading XES serializations. Other, e.g. proprietary or domain-specific, implementations of the XES standard (and the OpenXES model hierarchy interface) are suggested to implement the XModelFactory interface, and to register their factory with this registry. This enables to transparently switch the storage implementation of the complete OpenXES system (wherever applicable), and every application making use of this registry to create new models.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanareEqual(XFactory a, XFactory b)Subclasses must implement this method.static XFactoryRegistryinstance()Retrieves the singleton registry instance.-
Methods inherited from class org.deckfour.xes.util.XRegistry
currentDefault, getAvailable, isContained, register, setCurrentDefault
-
-
-
-
Method Detail
-
instance
public static XFactoryRegistry instance()
Retrieves the singleton registry instance.
-
-