jSyncManager

org.jSyncManager.Conduit
Class DefaultConduit

java.lang.Object
  |
  +--org.jSyncManager.API.Conduit.AbstractConduit
        |
        +--org.jSyncManager.Conduit.DefaultConduit
All Implemented Interfaces:
java.io.Serializable

public class DefaultConduit
extends AbstractConduit

The default jConduit. This jConduit is always used during synchronization. It provides backup and restore capabilities for database flagged as requiring backup.

Version:
$Revision: 1.7 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $ on $Date: 2003/06/26 02:25:23 $.
See Also:
Serialized Form

Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
configurationPanel, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, resources
 
Constructor Summary
DefaultConduit()
           
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs a configuration panel for this jConduit.
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the class to use as the Conduits Resource Bundle.
 void startSync(ConduitHandler conduithandler, DLPUserInfo user)
          This method is called when this jConduit is given the opportunity to synchronize.
 
Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit
getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getHandler, getPriority, setHandler, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultConduit

public DefaultConduit()
Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle. This method should return a String containing the fully-qualified classname of the class to use for this jConduits textual resources. You may return null from this method, however if you do so you're expected to override the getConduitName and getConduitDescription methods to return suitable data. We suggest using Resource Bundles to ensure that your jConduits can be translated to other languages.
Overrides:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Constructs a configuration panel for this jConduit. This jConduit doesn't require a configuration panel.
Overrides:
constructConfigPanel in class AbstractConduit
Returns:
null.

startSync

public void startSync(ConduitHandler conduithandler,
                      DLPUserInfo user)
               throws NotConnectedException
This method is called when this jConduit is given the opportunity to synchronize.
Overrides:
startSync in class AbstractConduit
Parameters:
conduithandler - he handle to the active ConduitHandler to use for synchronization.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost.

jSyncManager

Copyright (c) 1999 - 2003 Brad BARCLAY and others. All Rights Reserved.