org.nuxeo.ecm.platform.login
Class LoginPluginRegistry
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.login.LoginPluginRegistry
- All Implemented Interfaces:
- Adaptable, Component, Extensible
public class LoginPluginRegistry
- extends DefaultComponent
NAME
public static final ComponentName NAME
EP_PLUGIN
public static final String EP_PLUGIN
- See Also:
- Constant Field Values
EP_CBFACTORY
public static final String EP_CBFACTORY
- See Also:
- Constant Field Values
LoginPluginRegistry
public LoginPluginRegistry()
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
- Overrides:
registerContribution
in class DefaultComponent
unregisterExtension
public void unregisterExtension(Extension extension)
throws Exception
- Description copied from interface:
Extensible
- Unregisters the given extension.
- Specified by:
unregisterExtension
in interface Extensible
- Overrides:
unregisterExtension
in class DefaultComponent
- Parameters:
extension
- the extension to unregister
- Throws:
Exception
- if any error occurs
activate
public void activate(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Activates the component.
This method is called by the runtime when a component is activated.
- Specified by:
activate
in interface Component
- Overrides:
activate
in class DefaultComponent
- Parameters:
context
- the runtime context
- Throws:
Exception
- if an error occurs during activation
getPlugin
@Deprecated
public LoginPlugin getPlugin()
- Deprecated.
useCustomLoginPlugin
@Deprecated
public Boolean useCustomLoginPlugin()
- Deprecated.
handleSpecifcCallbacks
public CallbackResult handleSpecifcCallbacks(CallbackHandler callbackHandler)
getPlugin
public LoginPlugin getPlugin(String pluginName)
getPluginDescriptor
public LoginPluginDescriptor getPluginDescriptor(String pluginName)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.