Package com.evolveum.midpoint.schema
Class MidPointPrismContextFactory
- java.lang.Object
-
- com.evolveum.midpoint.schema.MidPointPrismContextFactory
-
- All Implemented Interfaces:
PrismContextFactory
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, FileNotFoundException
Description copied from interface:PrismContextFactory
Returns UNINITIALIZED prism context.- Specified by:
createPrismContext
in interfacePrismContextFactory
- Throws:
SchemaException
FileNotFoundException
-
createEmptyPrismContext
public PrismContext createEmptyPrismContext() throws SchemaException, FileNotFoundException
- Throws:
SchemaException
FileNotFoundException
-
createInitializedPrismContext
public PrismContext createInitializedPrismContext() throws SchemaException, SAXException, IOException
- Throws:
SchemaException
SAXException
IOException
-
registerExtensionSchemas
protected void registerExtensionSchemas(SchemaRegistryImpl schemaRegistry) throws SchemaException, FileNotFoundException
- Throws:
SchemaException
FileNotFoundException
-
-