|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.j2ca.base.WBIActivationSpec
Provides a generic implementation of the ActivationSpec interface including
properties required by the base classes.
This class should be used directly or extended by resource adapter developers
for their own ActivationSpec implementations. If extended, this class should
provide JavaBean-compliant accessor pairs to get/set EIS-specific inbound
configuration properties and extend validate()
to verify that
user-provided values are appropriate.
In addition, adapter developers should be sure to update the adapter deployment descriptor to ensure that the JCA container (and users) are made aware of the additional properties available.
Field Summary | |
---|---|
static java.lang.String |
DELIVERY_TYPE_DEBUG
Delivers events to the endpoint in order on a single thread. |
static java.lang.String |
DELIVERY_TYPE_ORDERED
Delivers events to the endpoint while maintaining their sequence. |
static java.lang.String |
DELIVERY_TYPE_UNORDERED
Delivers events to the endpoint concurrently and without regard to their order in the EIS. |
protected LogUtils |
logUtils
|
Constructor Summary | |
---|---|
WBIActivationSpec()
|
Method Summary | |
---|---|
com.ibm.j2ca.base.bidi.WBIBiDiContext |
getBiDiContext()
|
java.lang.String |
getBiDiContextEIS()
|
java.lang.String |
getBiDiContextMetadata()
|
java.lang.String |
getBiDiContextSkip()
|
java.lang.String |
getBiDiContextSpecialFormat()
|
java.lang.String |
getBiDiTanslatedEDTDatabaseName(java.lang.String db)
|
java.lang.String |
getBiDiTanslatedEDTPassword(java.lang.String password)
|
java.lang.String |
getBiDiTanslatedEDTSchema(java.lang.String schema)
|
java.lang.String |
getBiDiTanslatedEDTTable(java.lang.String table)
|
java.lang.String |
getBiDiTanslatedEDTURL(java.lang.String url)
|
java.lang.String |
getBiDiTanslatedEDTUser(java.lang.String user)
|
java.lang.String |
getBONamespace()
Returns the value of configuration property BONamespace . |
java.lang.String |
getDeliveryType()
|
java.lang.String |
getEDT_BiDiFormat()
|
java.lang.String |
getEDT_BiDiSkip()
|
java.lang.String |
getEDTDatabaseName()
|
java.lang.String |
getEDTDriverName()
|
int |
getEDTPortNumber()
|
java.lang.String |
getEDTSchemaName()
|
java.lang.String |
getEDTServerName()
|
java.lang.String |
getEDTTableName()
|
java.lang.String |
getEDTURL_BiDiSkip()
|
java.lang.String |
getEDTURL_BiDiSpecialFormat()
|
java.lang.String |
getEDTURL()
|
java.lang.String |
getEDTUserName()
|
java.lang.String |
getEDTUserPassword()
|
int |
getPollPeriod()
|
int |
getPollQuantity()
|
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
|
int |
getRetryInterval()
|
boolean |
isAutoCreateEDT()
Indicates whether autoCreate has been enabled. |
void |
setAutoCreateEDT(boolean autoCreateEDT)
Specifies whether autoCreate is enabled. |
void |
setBiDiContextEIS(java.lang.String str)
|
void |
setBiDiContextMetadata(java.lang.String str)
|
void |
setBiDiContextSkip(java.lang.String str)
|
void |
setBiDiContextSpecialFormat(java.lang.String str)
|
void |
setBONamespace(java.lang.String newValue)
Sets the value of configuration property BONamespace . |
void |
setDeliveryType(java.lang.String deliveryType)
Sets the order in which events will be published by the event manager. |
void |
setEDT_BiDiFormat(java.lang.String str)
|
void |
setEDT_BiDiSkip(java.lang.String str)
|
void |
setEDTDatabaseName(java.lang.String edtDatabaseName)
|
void |
setEDTDriverName(java.lang.String edtDriverName)
|
void |
setEDTPortNumber(int edtPortNumber)
|
void |
setEDTSchemaName(java.lang.String edtSchemaName)
|
void |
setEDTServerName(java.lang.String edtServerName)
|
void |
setEDTTableName(java.lang.String edtTableName)
|
void |
setEDTURL_BiDiSkip(java.lang.String str)
|
void |
setEDTURL_BiDiSpecialFormat(java.lang.String str)
|
void |
setEDTURL(java.lang.String edtURL)
|
void |
setEDTUserName(java.lang.String edtUserName)
|
void |
setEDTUserPassword(java.lang.String edtUserPassword)
|
void |
setLogUtils(LogUtils utils)
Specifies a LogUtils instance for logging, tracing, and monitoring |
void |
setPollPeriod(int pollPeriod)
|
void |
setPollQuantity(int pollQuantity)
|
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
|
void |
setRetryInterval(int retryInterval)
|
void |
validate()
Validates the configuration properties specified in the ActivationSpec instance
to ensure they comply with documented constraints. |
protected void |
verifyBiDiFormatValues()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DELIVERY_TYPE_DEBUG
public static final java.lang.String DELIVERY_TYPE_ORDERED
public static final java.lang.String DELIVERY_TYPE_UNORDERED
protected LogUtils logUtils
Constructor Detail |
public WBIActivationSpec()
Method Detail |
public void validate() throws javax.resource.spi.InvalidPropertyException
ActivationSpec
instance
to ensure they comply with documented constraints.
validate
in interface javax.resource.spi.ActivationSpec
javax.resource.spi.InvalidPropertyException
- if one or more property values are invalid }ActivationSpec.validate()
public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
WBIResourceAdapter
instanceResourceAdapterAssociation.getResourceAdapter()
public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
resourceAdapter
- - a WBIResourceAdapter
instance
javax.resource.ResourceException
ResourceAdapterAssociation.setResourceAdapter(javax.resource.spi.ResourceAdapter)
public java.lang.String getDeliveryType()
getDeliveryType
in interface com.ibm.j2ca.extension.eventmanagement.EventManagerActivationSpecExtension
public void setDeliveryType(java.lang.String deliveryType)
setDeliveryType
in interface com.ibm.j2ca.extension.eventmanagement.EventManagerActivationSpecExtension
deliveryType
- can be one of the following:
public java.lang.String getEDTDatabaseName()
public void setEDTDatabaseName(java.lang.String edtDatabaseName)
edtDatabaseName
- The edtDatabaseName to set.public java.lang.String getEDTDriverName()
public void setEDTDriverName(java.lang.String edtDriverName)
edtDriverName
- The edtDriverName to set.public java.lang.String getEDTSchemaName()
public void setEDTSchemaName(java.lang.String edtSchemaName)
edtSchemaName
- The edtSchemaName to set.public java.lang.String getEDTTableName()
public void setEDTTableName(java.lang.String edtTableName)
edtTableName
- The edtTableName to set.public java.lang.String getEDTUserName()
public void setEDTUserName(java.lang.String edtUserName)
edtUserName
- The edtUserName to set.public java.lang.String getEDTUserPassword()
public void setEDTUserPassword(java.lang.String edtUserPassword)
edtUserPassword
- The edtUserPassword to set.public int getPollPeriod()
public void setPollPeriod(int pollPeriod)
pollPeriod
- The pollPeriod to set.public int getPollQuantity()
public void setPollQuantity(int pollQuantity)
pollQuantity
- The pollQuantity to set.public void setRetryInterval(int retryInterval)
retryInterval
- The desired interval in secondspublic int getRetryInterval()
public boolean isAutoCreateEDT()
true
if autoCreate has been enabled.public void setAutoCreateEDT(boolean autoCreateEDT)
autoCreateEDT
- The autoCreateEDT to set.public void setLogUtils(LogUtils utils)
LogUtils
instance for logging, tracing, and monitoring
utils
- The LogUtils instancepublic java.lang.String getEDTURL()
public void setEDTURL(java.lang.String edtURL)
edtURL
- The edtURL to set.public java.lang.String getEDTServerName()
public void setEDTServerName(java.lang.String edtServerName)
edtServerName
- The edtServerName to set.public int getEDTPortNumber()
public void setEDTPortNumber(int edtPortNumber)
edtPortNumber
- The edtPortNumber to set.public java.lang.String getBiDiContextEIS()
public void setBiDiContextEIS(java.lang.String str) throws javax.resource.ResourceException
javax.resource.ResourceException
public java.lang.String getBiDiContextMetadata()
public void setBiDiContextMetadata(java.lang.String str) throws javax.resource.ResourceException
javax.resource.ResourceException
public java.lang.String getBiDiContextSpecialFormat()
public void setBiDiContextSpecialFormat(java.lang.String str)
public java.lang.String getBiDiContextSkip()
public void setBiDiContextSkip(java.lang.String str)
public com.ibm.j2ca.base.bidi.WBIBiDiContext getBiDiContext()
public void setEDT_BiDiFormat(java.lang.String str) throws javax.resource.ResourceException
javax.resource.ResourceException
public java.lang.String getEDT_BiDiFormat()
public void setEDTURL_BiDiSpecialFormat(java.lang.String str)
public java.lang.String getEDTURL_BiDiSpecialFormat()
public void setEDT_BiDiSkip(java.lang.String str)
public java.lang.String getEDT_BiDiSkip()
public void setEDTURL_BiDiSkip(java.lang.String str)
public java.lang.String getEDTURL_BiDiSkip()
public java.lang.String getBiDiTanslatedEDTUser(java.lang.String user)
public java.lang.String getBiDiTanslatedEDTPassword(java.lang.String password)
public java.lang.String getBiDiTanslatedEDTTable(java.lang.String table)
public java.lang.String getBiDiTanslatedEDTSchema(java.lang.String schema)
public java.lang.String getBiDiTanslatedEDTDatabaseName(java.lang.String db)
public java.lang.String getBiDiTanslatedEDTURL(java.lang.String url)
protected void verifyBiDiFormatValues() throws javax.resource.ResourceException
javax.resource.ResourceException
public void setBONamespace(java.lang.String newValue)
BONamespace
. See
documentation for description and usage.
public java.lang.String getBONamespace()
BONamespace
.
See documentation for description and usage.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |