public class InvalidationIDSQLComponentImpl extends java.lang.Object implements InvalidationIDComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
static java.lang.String |
DEFAULT_SCHEMA_MARK
the place holder for the schema name used in SQL statement.
|
Constructor and Description |
---|
InvalidationIDSQLComponentImpl()
the resource key used in the component.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue(java.lang.String resource,
java.util.HashMap oneRecord,
java.lang.String action,
java.sql.Connection connection,
java.lang.String schema)
returns the value of the component.
|
void |
initialize(org.w3c.dom.Node component)
initializes the component.
|
java.lang.String |
toString()
returns a string representation of the object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_SCHEMA_MARK
public InvalidationIDSQLComponentImpl()
public void initialize(org.w3c.dom.Node component) throws ECException
initialize
in interface InvalidationIDComponent
component
- the component node defined in cache invalidation configuration file.ECException
- a problem occurs when initializing the object.InvalidationIDComponent.initialize(org.w3c.dom.Node)
public java.lang.String getValue(java.lang.String resource, java.util.HashMap oneRecord, java.lang.String action, java.sql.Connection connection, java.lang.String schema)
getValue
in interface InvalidationIDComponent
resource
- the resource.oneRecord
- a HashMap object containing the values in the resource object.action
- the action performed against the resource object.connection
- the database connection.schema
- the database schema name.public java.lang.String toString()
toString
in class java.lang.Object