Package com.amazon.ion.system
Class SystemFactory
java.lang.Object
com.amazon.ion.system.SystemFactory
Deprecated.
The factory for creating
IonSystems.
Most applications will only have one or two system instances;
see IonSystem for important constraints.
Most long-lived applications will want to provide a custom
IonCatalog implementation rather than using the default
SimpleCatalog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IonSystemDeprecated.UseIonSystemBuilder.standard().build()instead.static IonSystemnewSystem(IonCatalog catalog) Deprecated.
-
Constructor Details
-
SystemFactory
public SystemFactory()Deprecated.
-
-
Method Details
-
newSystem
Deprecated.UseIonSystemBuilder.standard().build()instead.Constructs a new system instance with a default configuration.The catalog used by the new instance will be a
SimpleCatalogwith no initial entries, so please be aware of the limitations of that class.- Returns:
- a new
IonSysteminstance; not null.
-
newSystem
Deprecated.Constructs a new system instance with the given catalog.- Parameters:
catalog- the catalog to use in the new system. If null, a newSimpleCatalogwill be used.- Returns:
- a new
IonSysteminstance; not null.
-
IonSystemBuilderinstead.