com.crystaldecisions.sdk.occa.pluginmgr
Interface IPluginFactory


public interface IPluginFactory

All plugins must implement this interface, which contains a factory method through which the actual plugin implementation can be retrieved.


Method Summary
 java.lang.String getLocalizedDescription(java.util.Locale locale)
           
 java.lang.String getLocalizedName(java.util.Locale locale)
           
 java.lang.Object makePlugin(java.lang.String type)
           Returns an actual plugin instance.
 

Method Detail

makePlugin

java.lang.Object makePlugin(java.lang.String type)
                            throws SDKException

Returns an actual plugin instance.

Parameters:
type - A String specifying the type of plugin to create. This should be a constant from IPluginMgr.Category.
Returns:
An Object containing the newly created plugin.
Throws:
SDKException - This is thrown if the plugin creation is unsuccessful.
See Also:
IPluginMgr.Category

getLocalizedName

java.lang.String getLocalizedName(java.util.Locale locale)

getLocalizedDescription

java.lang.String getLocalizedDescription(java.util.Locale locale)