Package org.bedework.synch.cnctrs.file
Class FileConnector
- java.lang.Object
-
- org.bedework.synch.shared.cnctrs.AbstractConnector<FileConnector,FileConnectorInstance,Notification<?>,FileConnectorConfig,FileSubscriptionInfo>
-
- org.bedework.synch.cnctrs.file.FileConnector
-
- All Implemented Interfaces:
Connector<FileConnectorInstance,Notification<?>,FileConnectorConfig>,org.bedework.util.logging.Logged
public class FileConnector extends AbstractConnector<FileConnector,FileConnectorInstance,Notification<?>,FileConnectorConfig,FileSubscriptionInfo>
The synch processor connector for subscriptions to files.- Author:
- Mike Douglass
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bedework.synch.shared.cnctrs.Connector
Connector.NotificationBatch<N extends Notification>
-
-
Field Summary
-
Fields inherited from class org.bedework.synch.shared.cnctrs.AbstractConnector
callbackUri, config, failed, jc, of, propInfo, running, soapMsgFactory, stopped, syncher
-
-
Constructor Summary
Constructors Constructor Description FileConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SynchDefs.SynchKindgetKind()FileConnectorInstancemakeInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end)voidstart(String connectorId, FileConnectorConfig conf, String callbackUri, SynchEngine syncher)-
Methods inherited from class org.bedework.synch.shared.cnctrs.AbstractConnector
getCallbackUri, getConnectorId, getConnectorInstance, getIcalObjectFactory, getId, getLogger, getPort, getPropertyInfo, getSkipList, getSoapMsgFactory, getStatus, getSyncher, getTrustLastmod, handleCallback, isFailed, isManager, isReadOnly, isStarted, isStopped, marshal, respondCallback, stop, unmarshalBody
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
-
-
-
Method Detail
-
start
public void start(String connectorId, FileConnectorConfig conf, String callbackUri, SynchEngine syncher)
- Specified by:
startin interfaceConnector<FileConnectorInstance,Notification<?>,FileConnectorConfig>- Overrides:
startin classAbstractConnector<FileConnector,FileConnectorInstance,Notification<?>,FileConnectorConfig,FileSubscriptionInfo>
-
getKind
public SynchDefs.SynchKind getKind()
-
makeInstance
public FileConnectorInstance makeInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) throws SynchException
- Specified by:
makeInstancein classAbstractConnector<FileConnector,FileConnectorInstance,Notification<?>,FileConnectorConfig,FileSubscriptionInfo>- Throws:
SynchException
-
-