org.eclipse.higgins.idas.cp.jena2.impl
Class AbstractContextFactory
java.lang.Object
org.eclipse.higgins.idas.cp.jena2.impl.AbstractContextFactory
- All Implemented Interfaces:
- org.eclipse.higgins.configuration.api.IConfigurableComponent, org.eclipse.higgins.idas.api.IContextFactory
- Direct Known Subclasses:
- FileContextFactory, JDBCContextFactory
- public abstract class AbstractContextFactory
- extends Object
- implements org.eclipse.higgins.idas.api.IContextFactory
| Methods inherited from interface org.eclipse.higgins.idas.api.IContextFactory |
createContext, getContextDescriptor, getTypes |
| Methods inherited from interface org.eclipse.higgins.configuration.api.IConfigurableComponent |
configure, getComponentDescriptor |
getID
public String getID()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getName
public String getName()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getName in interface org.eclipse.higgins.idas.api.IContextFactory
- Throws:
org.eclipse.higgins.idas.api.IdASException
initialize
public void initialize(File configFile)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
destroyContext
public void destroyContext(URI contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getConfigPropNames
public List getConfigPropNames()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getDefaultConfig
public Properties getDefaultConfig()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
canCreate
public boolean canCreate(URI contextID,
Properties configData)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
canCreate
public boolean canCreate(URI contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
createContext
public org.eclipse.higgins.idas.api.IContext createContext(URI contextID,
Properties configData)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
createContext
public org.eclipse.higgins.idas.api.IContext createContext(URI contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getContexts
public Iterator getContexts(String filter)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getContexts in interface org.eclipse.higgins.idas.api.IContextFactory
- Throws:
org.eclipse.higgins.idas.api.IdASException
getPolicy
public String getPolicy()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getPolicy in interface org.eclipse.higgins.idas.api.IContextFactory
- Throws:
org.eclipse.higgins.idas.api.IdASException
setPolicy
public void setPolicy(String policy)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
setPolicy in interface org.eclipse.higgins.idas.api.IContextFactory
- Throws:
org.eclipse.higgins.idas.api.IdASException
getContextModel
public static ContextModel getContextModel(String schemaResource,
String schemaURI)
throws org.eclipse.higgins.idas.api.IdASException
- Parameters:
schemaResource - The name of java resource or fileschemaURI - URI of the schema, wchich identifies the model
- Returns:
-
- Throws:
org.eclipse.higgins.idas.api.IdASException