|
IBM WebSphere® DataPower® XC10 Appliance Release 1.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
This interface represents an ObjectGrid or BackingMap plugin. An ObjectGridConfiguration
object supports the following Plugins:
PluginType#OBJECTGRID_EVENT_LISTENER
PluginType#TRANSACTION_CALLBACK
A BackingMapConfiguration
object supports the following Plugins:
PluginType#EVICTOR
PluginType#MAP_EVENT_LISTENER
A Plugin object has following attributes:
A plugin object can be created by using ObjectGridConfigFactory.createPlugin(PluginType, String)
method. Please refer to
ObjectGridConfigFactory
for detailed example.
Method Summary | |
---|---|
void |
addConfigProperty(ConfigProperty configProp)
Add a ConfigProperty to this object. |
java.lang.String |
getClassName()
Get the String representation of the class name of this Plugin |
java.util.List |
getConfigProperties()
Get the ConfigProperty objects that have been set on this object. |
PluginType |
getPluginType()
Get the PluginType for this Plugin. |
void |
setClassName(java.lang.String className)
The class name that is set must be an implementor of the PluginTypeImpl for this Plugin. |
void |
setConfigProperties(java.util.List configPropList)
Set the ConfigProperties for this object |
void |
setPluginType(PluginType pluginType)
Set the PluginType for this Plugin. |
Method Detail |
---|
void addConfigProperty(ConfigProperty configProp)
configProp
- - ConfigProperty to add to this objectvoid setConfigProperties(java.util.List configPropList)
configPropList
- java.util.List getConfigProperties()
ConfigProperty
objects that have been added to this object.ConfigProperty
PluginType getPluginType()
void setPluginType(PluginType pluginType)
PluginType
for this Plugin.
The ObjectGridConfiguration
plugins include
PluginType.TRANSACTION_CALLBACK
PluginType.OBJECTGRID_EVENT_LISTENER
BackingMapConfiguration
plugins include
PluginType.EVICTOR
PluginType.MAP_EVENT_LISTENER
pluginType
- java.lang.String getClassName()
void setClassName(java.lang.String className)
PluginType.EVICTOR, then the
className must be an implementor of the com.ibm.websphere.objectgrid.plugins.Evictor interface.
- Parameters:
className
- - the class name of the Class that implements the PluginType
|
IBM WebSphere® DataPower® XC10 Appliance Release 1.0 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |