Package com.evolveum.midpoint.schema
Class MidPointPrismContextFactory
- java.lang.Object
-
- com.evolveum.midpoint.schema.MidPointPrismContextFactory
-
- All Implemented Interfaces:
PrismContextFactory
- Direct Known Subclasses:
ConfigurablePrismContextFactory
public class MidPointPrismContextFactory extends Object implements PrismContextFactory
- Author:
- semancik
-
-
Field Summary
Fields Modifier and Type Field Description static MidPointPrismContextFactory
FACTORY
-
Constructor Summary
Constructors Constructor Description MidPointPrismContextFactory()
MidPointPrismContextFactory(File extraSchemaDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContext
createEmptyPrismContext()
PrismContext
createInitializedPrismContext()
PrismContext
createPrismContext()
Returns UNINITIALIZED prism context.protected void
registerExtensionSchemas(SchemaRegistryImpl schemaRegistry)
-
-
-
Field Detail
-
FACTORY
public static final MidPointPrismContextFactory FACTORY
-
-
Constructor Detail
-
MidPointPrismContextFactory
public MidPointPrismContextFactory()
-
MidPointPrismContextFactory
public MidPointPrismContextFactory(File extraSchemaDir)
-
-
Method Detail
-
createPrismContext
public PrismContext createPrismContext() throws SchemaException, IOException
Description copied from interface:PrismContextFactory
Returns UNINITIALIZED prism context.- Specified by:
createPrismContext
in interfacePrismContextFactory
- Throws:
SchemaException
IOException
-
createEmptyPrismContext
public PrismContext createEmptyPrismContext() throws SchemaException, IOException
- Throws:
SchemaException
IOException
-
createInitializedPrismContext
public PrismContext createInitializedPrismContext() throws SchemaException, SAXException, IOException
- Throws:
SchemaException
SAXException
IOException
-
registerExtensionSchemas
protected void registerExtensionSchemas(SchemaRegistryImpl schemaRegistry) throws SchemaException, IOException
- Throws:
SchemaException
IOException
-
-