com.togethersoft.sca.core
Interface IExtension

All Known Subinterfaces:
ICodeInspector

public interface IExtension

Represents an extension description. Extension descriptors are obtained from the plugin manifest files plugin.xml. These are framework-defined objects that exist in the plugin registry independent of whether an extension has been activated.

This interface is not intended to be implemented by clients.

See Also:
IExtensionExecutable

Method Summary
 IExtensionExecutable createExecutableExtension()
          Returns an instance of the extension executable.
 java.net.URL find(java.lang.String path)
          Returns the path location from which this extension is loaded.
 java.lang.String getId()
          Returns the unique identifier of this extension.
 java.net.URL getLocalizedLocation()
          Returns the localized location from which this extension is loaded.
 java.net.URL getLocation()
          Returns the location from which this extension is loaded.
 java.lang.String getName()
          Returns the name of this extension.
 IParameterRegistry getParameterRegistry()
          Returns the parameter registry that holds the parameters of this extension.
 

Method Detail

createExecutableExtension

public IExtensionExecutable createExecutableExtension()
Returns an instance of the extension executable. Only one instance of an extension executable may exist in the framework, it is shared between all the framework users.
Returns:
an instance of this extension executable.

find

public java.net.URL find(java.lang.String path)
Returns the path location from which this extension is loaded.
Returns:
the path location of this extension.

getId

public java.lang.String getId()
Returns the unique identifier of this extension.
Returns:
the unique identifier of this extension.

getLocalizedLocation

public java.net.URL getLocalizedLocation()
Returns the localized location from which this extension is loaded.
Returns:
the localized location of this extension.

getLocation

public java.net.URL getLocation()
Returns the location from which this extension is loaded.
Returns:
the location of this extension.

getName

public java.lang.String getName()
Returns the name of this extension.
Returns:
the name of this extension.

getParameterRegistry

public IParameterRegistry getParameterRegistry()
Returns the parameter registry that holds the parameters of this extension. Returns an empty registry, if no parameters are provided.
Returns:
the parameter registry of this extension.