org.eclipse.higgins.idas.cp.xdi
Class XDIContextFactory

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

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


Constructor Summary
XDIContextFactory()
           
 
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.idas.api.IContext createContext(URL url)
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor getComponentDescriptor()
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor getContextDescriptor(String contextIdName)
           
 Iterator getContexts(String filter)
           
 String getName()
           
 String getPolicy()
           
 List getTypes()
           
 void setPolicy(String policy)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDIContextFactory

public XDIContextFactory()
Method Detail

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

createContext

public org.eclipse.higgins.idas.api.IContext createContext(URL url)
                                                    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

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

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

getComponentDescriptor

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

getTypes

public List 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