com.softwareag.cis.plugin.registry
Interface ExtensionImplementation

All Known Subinterfaces:
ConnectionHandler, Perspective, PlugInInfo, Topic
All Known Implementing Classes:
AbstractExtensionImplementation, AbstractPerspective, AbstractPlugInInfo, AbstractTopic, BasePlugInInfo, CommonI18NHandler, PlugInPerspective, PlugInTopic

public interface ExtensionImplementation


Field Summary
static java.lang.String rcs_id
           
 
Method Summary
 Extension getExtension()
          Obtain the extension which caused instantiation of this ExtensionImplementation
 PlugIn getPlugIn()
          Get plug-in this extension implementation belongs to
 void popContextClassLoader(java.lang.ClassLoader saveClassLoader)
          Restore thread context classloader
 java.lang.ClassLoader pushContextClassLoader()
          Set thread context classloader to classloader of plug-in this extension implementation belongs to
 void setExtension(Extension ext)
          Make extension configuration known to implementing extension.
 

Field Detail

rcs_id

static final java.lang.String rcs_id
See Also:
Constant Field Values
Method Detail

setExtension

void setExtension(Extension ext)
Make extension configuration known to implementing extension. This allows extensions to be used multiple times with different parameters.

Parameters:
ext - the extension configuration

getExtension

Extension getExtension()
Obtain the extension which caused instantiation of this ExtensionImplementation

Returns:
the Extension object

getPlugIn

PlugIn getPlugIn()
Get plug-in this extension implementation belongs to


pushContextClassLoader

java.lang.ClassLoader pushContextClassLoader()
Set thread context classloader to classloader of plug-in this extension implementation belongs to

Returns:
the original thread context classloader

popContextClassLoader

void popContextClassLoader(java.lang.ClassLoader saveClassLoader)
Restore thread context classloader

Parameters:
saveClassLoader - the original thread context classloader