SMILA 1.0 API documentation

org.eclipse.smila.utils.extensions
Class AbstractPluginRegistryBase<T>

java.lang.Object
  extended by org.eclipse.smila.utils.extensions.AbstractPluginRegistryBase<T>
Type Parameters:
T - plug-in interface
Direct Known Subclasses:
AbstractCollectionPluginRegistry, AbstractSinglePluginRegistry

public abstract class AbstractPluginRegistryBase<T>
extends java.lang.Object

The Class AbstractPluginRegistryBase.


Nested Class Summary
protected  class AbstractPluginRegistryBase.RegistryListener
          The listener interface for receiving registry events.
 
Field Summary
protected  IRegistryChangeListener _listener
          The _listener.
protected  java.lang.Object _mutex
          The _mutex.
 
Constructor Summary
AbstractPluginRegistryBase()
          Instantiates a new abstract plug-in registry base.
 
Method Summary
protected  T createInstance(IExtension extension)
          Creates the instance.
protected abstract  void extensionAdded(java.lang.String id, IExtension extension)
          Extension added.
protected abstract  void extensionRemoved(java.lang.String id)
          Extension removed.
protected abstract  void finalizeExtensionChanges()
          Finalize extension changes.
protected  java.lang.String getExtensionPointFullName()
          Gets the extension point full name.
protected abstract  java.lang.String getExtensionPointLocalName()
          Gets the extension point local name.
protected abstract  java.lang.String getExtensionPointNameSpace()
          Gets the extention point name space.
protected  void initialize()
          Initialize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_listener

protected IRegistryChangeListener _listener
The _listener.


_mutex

protected java.lang.Object _mutex
The _mutex.

Constructor Detail

AbstractPluginRegistryBase

public AbstractPluginRegistryBase()
Instantiates a new abstract plug-in registry base.

Method Detail

getExtensionPointNameSpace

protected abstract java.lang.String getExtensionPointNameSpace()
Gets the extention point name space.

Returns:
the extention point name space

getExtensionPointLocalName

protected abstract java.lang.String getExtensionPointLocalName()
Gets the extension point local name.

Returns:
the extension point local name

initialize

protected void initialize()
Initialize.


extensionAdded

protected abstract void extensionAdded(java.lang.String id,
                                       IExtension extension)
                                throws CoreException
Extension added.

Parameters:
id - the id
extension - the extension
Throws:
CoreException - the core exception

extensionRemoved

protected abstract void extensionRemoved(java.lang.String id)
                                  throws CoreException
Extension removed.

Parameters:
id - the id
Throws:
CoreException - the core exception

finalizeExtensionChanges

protected abstract void finalizeExtensionChanges()
Finalize extension changes.


getExtensionPointFullName

protected java.lang.String getExtensionPointFullName()
Gets the extension point full name.

Returns:
the extension point full name

createInstance

protected T createInstance(IExtension extension)
                    throws CoreException
Creates the instance.

Parameters:
extension - the extension
Returns:
the t
Throws:
CoreException - the core exception

SMILA 1.0 API documentation