|
IBM WebSphere® DataPower® XC10 Appliance Release 2.1 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. |
String |
getClassName()
Get the String representation of the class name of this Plugin |
List |
getConfigProperties()
Get the ConfigProperty objects that have been set on this object. |
String |
getOSGiService()
Get the OSGi service name configured for this Plugin. |
PluginType |
getPluginType()
Get the PluginType for this Plugin. |
void |
setClassName(String className)
The class name that is set must be an implementor of the PluginTypeImpl for this Plugin. |
void |
setConfigProperties(List configPropList)
Set the ConfigProperties for this object |
void |
setOSGiService(String osgiService)
Set the OSGi service name configured for this Plugin. |
void |
setPluginType(PluginType pluginType)
Set the PluginType for this Plugin. |
Method Detail |
---|
void addConfigProperty(ConfigProperty configProp)
configProp
- - ConfigProperty to add to this objectvoid setConfigProperties(List configPropList)
configPropList
- 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
- String getClassName()
void setClassName(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
String getOSGiService()
void setOSGiService(String osgiService)
osgiService
- the OSGi service name configured for this Plugin.
|
IBM WebSphere® DataPower® XC10 Appliance Release 2.1 Client API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |