org.opensync.engine.server
Interface Connector

All Known Implementing Classes:
DefaultConnector

public interface Connector

The connector interface gives all information needed to connect to a source


Field Summary
static java.lang.String BD
          The connector used to connect to a data base
static java.lang.String FILE
          The connector used to connect to a file server
 
Method Summary
 Adapter getAdapter()
          Get the adapter used by the connector to adapt the data format of the source to the OpenSync format
 boolean getIncremental()
           
 Protocol getProtocol()
          Get the protocol used by the connector to connect to the source
 java.lang.String getType()
          Get the type of the connector (eg: bd, file, ...)
 java.lang.String getUrl()
          Get the url of the source
 void release()
           
 void releaseWithException()
           
 void setIncremental(boolean incremental)
           
 void validate()
           
 

Field Detail

BD

public static final java.lang.String BD
The connector used to connect to a data base

See Also:
Constant Field Values

FILE

public static final java.lang.String FILE
The connector used to connect to a file server

See Also:
Constant Field Values
Method Detail

getAdapter

public Adapter getAdapter()
Get the adapter used by the connector to adapt the data format of the source to the OpenSync format


getProtocol

public Protocol getProtocol()
Get the protocol used by the connector to connect to the source


getType

public java.lang.String getType()
Get the type of the connector (eg: bd, file, ...)


getUrl

public java.lang.String getUrl()
Get the url of the source


validate

public void validate()
              throws OpenSyncException
Throws:
OpenSyncException

release

public void release()
             throws java.sql.SQLException
Throws:
java.sql.SQLException

releaseWithException

public void releaseWithException()
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

setIncremental

public void setIncremental(boolean incremental)

getIncremental

public boolean getIncremental()


Copyright © 2004 sourceforge. All Rights Reserved.