Package com.amazon.ion.system
Class SystemFactory
- java.lang.Object
-
- com.amazon.ion.system.SystemFactory
-
@Deprecated public final class SystemFactory extends java.lang.ObjectDeprecated.Use the more configurableIonSystemBuilderinstead.The factory for creatingIonSystems. Most applications will only have one or two system instances; seeIonSystemfor important constraints.Most long-lived applications will want to provide a custom
IonCatalogimplementation rather than using the defaultSimpleCatalog.
-
-
Constructor Summary
Constructors Constructor Description SystemFactory()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IonSystemnewSystem()Deprecated.UseIonSystemBuilder.standard().build()instead.static IonSystemnewSystem(IonCatalog catalog)Deprecated.
-
-
-
Method Detail
-
newSystem
@Deprecated public static IonSystem 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 public static IonSystem newSystem(IonCatalog catalog)
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.
-
-