Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.login
Class LoginPluginRegistry

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.login.LoginPluginRegistry
All Implemented Interfaces:
Adaptable, Component, Extensible

public class LoginPluginRegistry
extends DefaultComponent


Field Summary
static String EP_CBFACTORY
           
static String EP_PLUGIN
           
static ComponentName NAME
           
 
Constructor Summary
LoginPluginRegistry()
           
 
Method Summary
 void activate(ComponentContext context)
          Activates the component.
 LoginPlugin getPlugin()
          Deprecated. 
 LoginPlugin getPlugin(String pluginName)
           
 LoginPluginDescriptor getPluginDescriptor(String pluginName)
           
 CallbackResult handleSpecifcCallbacks(CallbackHandler callbackHandler)
           
 void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
           
 void unregisterExtension(Extension extension)
          Unregisters the given extension.
 Boolean useCustomLoginPlugin()
          Deprecated. 
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
applicationStarted, deactivate, getAdapter, registerExtension, unregisterContribution
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LoginPluginRegistry

public LoginPluginRegistry()
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.