org.eclipse.higgins.idas.cp.jspolicy
Class JSPolicyContextFactory
java.lang.Object
org.eclipse.higgins.idas.cp.jspolicy.JSPolicyContextFactory
- All Implemented Interfaces:
- org.eclipse.higgins.configuration.api.IConfigurableComponent, org.eclipse.higgins.idas.api.IContextFactory
- public class JSPolicyContextFactory
- extends Object
- implements org.eclipse.higgins.idas.api.IContextFactory, org.eclipse.higgins.configuration.api.IConfigurableComponent
A Higgins Context Provider
Factory implementation allowing for javascript policy at critical points.
- Author:
- dbuss@novell.com
JSPolicyContextFactory
public JSPolicyContextFactory()
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
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
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
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
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
- Parameters:
mapGlobalSettings - strComponentName - mapComponentSettings -
- Throws:
Exception
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