org.eclipse.higgins.idas.cp.jena2.impl
Class JDBCContextFactory

java.lang.Object
  extended by org.eclipse.higgins.idas.cp.jena2.impl.JDBCContextFactory
All Implemented Interfaces:
org.eclipse.higgins.configuration.api.IConfigurableComponent, org.eclipse.higgins.idas.api.IContextFactory

public class JDBCContextFactory
extends Object
implements org.eclipse.higgins.idas.api.IContextFactory


Constructor Summary
JDBCContextFactory()
           
 
Method Summary
 void configure(Map mapGlobalSettings, String strComponentName, Map mapComponentSettings, org.eclipse.higgins.configuration.api.ISettingDescriptor componentDescriptor, org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor)
           
 org.eclipse.higgins.idas.api.IContext createContext(org.eclipse.higgins.idas.api.IContextId contextID)
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor getComponentDescriptor()
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor getContextDescriptor(String contextIdName)
           
 Iterator<URI> getContexts(String filter)
           
 String getName()
           
 String getPolicy()
           
 List<String> getTypes()
           
 void setPolicy(String policy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCContextFactory

public JDBCContextFactory()
                   throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
Method Detail

configure

public void configure(Map mapGlobalSettings,
                      String strComponentName,
                      Map mapComponentSettings,
                      org.eclipse.higgins.configuration.api.ISettingDescriptor componentDescriptor,
                      org.eclipse.higgins.configuration.api.ISettingDescriptor globalDescriptor)
               throws Exception
Specified by:
configure in interface org.eclipse.higgins.configuration.api.IConfigurableComponent
Throws:
Exception

createContext

public org.eclipse.higgins.idas.api.IContext createContext(org.eclipse.higgins.idas.api.IContextId contextID)
                                                    throws org.eclipse.higgins.idas.api.IdASException
Specified by:
createContext in interface org.eclipse.higgins.idas.api.IContextFactory
Throws:
org.eclipse.higgins.idas.api.IdASException

getComponentDescriptor

public org.eclipse.higgins.configuration.api.ISettingDescriptor getComponentDescriptor()
Specified by:
getComponentDescriptor in interface org.eclipse.higgins.configuration.api.IConfigurableComponent

getTypes

public List<String> getTypes()
                      throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getTypes in interface org.eclipse.higgins.idas.api.IContextFactory
Throws:
org.eclipse.higgins.idas.api.IdASException

getContextDescriptor

public org.eclipse.higgins.configuration.api.ISettingDescriptor getContextDescriptor(String contextIdName)
                                                                              throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getContextDescriptor in interface org.eclipse.higgins.idas.api.IContextFactory
Throws:
org.eclipse.higgins.idas.api.IdASException

getContexts

public Iterator<URI> 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

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

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