Class Hierarchy Previous Next Index
Interface COM.cloudscape.synchronization.TargetDescription
- public interface TargetDescription
Copyright © 2000, Informix Software, Inc. All rights reserved.
A TargetDescription object describes a target to the source during refresh.
A TargetDescription object is passed into the methods of MessageAuthenticationScheme
to provide information about the target to the authentication scheme.
Within a source work-unit execution a TargetDescription is obtained
by the static SyncFactory.getRefresher() method. Apart from providing
access to the publication parameters, a TargetDescription can be used
to maintain state, such as prepared statements, across work unit executions
for a single refresh.
A TargetDesription is private to a single refresh request and becomes invalid
at the end of the refresh.
- See Also:
- SyncFactory, MessageAuthenticationScheme
getConnectionAttributes()
- Return the attributes that will be used (or were used)
to obtain a JDBC Connection.
getDatabaseId()
- Return the unique identifier of the target database.
getPublicationId()
- Return the publication identifier of the target database.
getPublicationParameters()
- Return a one-row JDBC 1.2 result set that contains the publication parameters.
getSavedObject()
- Retrieve the object saved by saveObject().
saveObject(Object)
- Save an object for the duration of this refresh.
getDatabaseId
public UUID getDatabaseId()
Return the unique identifier of the target database.
getPublicationId
public UUID getPublicationId()
Return the publication identifier of the target database.
getPublicationParameters
public java.sql.ResultSet getPublicationParameters()
Return a one-row JDBC 1.2 result set that contains the publication parameters.
The ResultSet is pre-positioned on the single row.
getConnectionAttributes
public java.util.Properties getConnectionAttributes()
Return the attributes that will be used (or were used)
to obtain a JDBC Connection.
saveObject
public void saveObject(java.lang.Object value)
Save an object for the duration of this refresh.
This allows state to be maintained over the lifetime
of a single refresh, e.g. to allow PreparedStatements
kept open across work-unit executions.
getSavedObject
public java.lang.Object getSavedObject()
Retrieve the object saved by saveObject().
Class Hierarchy Previous Next Index