API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql.rowset.spi. SyncFactory View Source
Author(s)
Jonathan Bruce
Since
Version
Serial
Hierarchy
 Object
      SyncFactory
Implements
Subclasses
Description
public class SyncFactory
  The Service Provider Interface (SPI) mechanism that generates SyncProvider instances to be used by disconnected RowSet objects.
Constructors
private SyncFactory ()
  Creates a new SyncFactory object, which is the singleton instance.
Methods
Hide/Show inherited methods
publicstatic SyncProvider getInstance (String providerID) throws SyncFactoryException
  Returns the SyncProvider instance identified by providerID.
publicstatic Logger getLogger () throws SyncFactoryException
  Returns the logging object for applications to retrieve synchronization events posted by SyncProvider implementations.
publicstatic Enumeration<SyncProvider> getRegisteredProviders () throws SyncFactoryException
  Returns an Enumeration of currently registered synchronization providers.
publicstatic SyncFactory getSyncFactory ()
  Returns the SyncFactory singleton.
publicstaticsynchronized void registerProvider (String providerID) throws SyncFactoryException
  Adds the the given synchronization provider to the factory register.
publicstatic void setJNDIContext (Context ctx) throws SyncFactoryException
  Sets the initial JNDI context from which SyncProvider implementations can be retrieved from a JNDI namespace
publicstatic void setLogger (Logger logger)
  Sets the logging object to be used by the SyncProvider implementation provided by the SyncFactory.
publicstatic void setLogger (Logger logger, Level level)
  Sets the logging object that is used by SyncProvider implementations provided by the SyncFactory SPI.
publicstaticsynchronized void unregisterProvider (String providerID) throws SyncFactoryException
  Removes the designated currently registered synchronization provider from the Factory SPI register.
Fields
Hide/Show inherited fields
publicstatic String ROWSET_SYNC_PROVIDER
The standard property-id for a synchronization provider implementation name.
publicstatic String ROWSET_SYNC_PROVIDER_VERSION
The standard property-id for a synchronization provider implementation version tag.
publicstatic String ROWSET_SYNC_VENDOR
The standard property-id for a synchronization provider implementation vendor name.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar