Nuxeo Enterprise Platform 5.1

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 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)
           
 void registerExtension(Extension extension)
          Registers the given extension.
 void unregisterExtension(Extension extension)
          Unregisters the given extension.
 Boolean useCustomLoginPlugin()
          Deprecated. 
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
deactivate, getAdapter, registerContribution, unregisterContribution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final ComponentName NAME
Constructor Detail

LoginPluginRegistry

public LoginPluginRegistry()
Method Detail

registerExtension

public void registerExtension(Extension extension)
                       throws Exception
Description copied from interface: Extensible
Registers the given extension.

Specified by:
registerExtension in interface Extensible
Overrides:
registerExtension in class DefaultComponent
Parameters:
extension - the extension to register
Throws:
Exception - if any error occurs

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 will be 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. 


getPlugin

public LoginPlugin getPlugin(String pluginName)

getPluginDescriptor

public LoginPluginDescriptor getPluginDescriptor(String pluginName)

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.