Oxygen XML Editor, Version ${standalone-version-number}

ro.sync.exml.plugin
Class PluginManager

java.lang.Object
  extended by ro.sync.exml.plugin.PluginManager

public class PluginManager
extends Object

The plugin manager is responsable to find and instantiate plugins.

Version:
$Revision: 1.38 $

Method Summary
 List getExceptions()
          Get the exceptions raised durring the plugin initialization.
static PluginManager getInstance()
          Get the singleton instance of the plugin manager.
 List getPlugins()
          Get the registered plugins.
 boolean hasCustomURLHandlerPlugin(String protocol)
          Check if there are any custom URL handler plugin registered...
static boolean pluginsUpdateInProgress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PluginManager getInstance()
Get the singleton instance of the plugin manager.

Returns:
The instance value

getPlugins

public List getPlugins()
Get the registered plugins.

Returns:
a List of Plugin objects.

getExceptions

public List getExceptions()
Get the exceptions raised durring the plugin initialization.

Returns:
a List of exceptions.

hasCustomURLHandlerPlugin

public boolean hasCustomURLHandlerPlugin(String protocol)
Check if there are any custom URL handler plugin registered...

Parameters:
protocol - The protocol to be checked.
Returns:
true If the protocol is known, false otherwise.

pluginsUpdateInProgress

public static boolean pluginsUpdateInProgress()
Returns:
true if the plugin manager is updating plugins and cannot yet return them.

Oxygen XML Editor, Version ${standalone-version-number}

© Copyright Syncro Soft SRL 2002 - 2010.