Class ExchangeConnector
- java.lang.Object
-
- org.bedework.synch.shared.cnctrs.AbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>
-
- org.bedework.synch.cnctrs.exchange.ExchangeConnector
-
- All Implemented Interfaces:
Connector<ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig>,org.bedework.util.logging.Logged
public class ExchangeConnector extends AbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>
The synch processor connector for connections to Exchange.- 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 Modifier and Type Field Description static StringpropnameFolderId-
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 ExchangeConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SynchDefs.SynchKindgetKind()org.bedework.synch.cnctrs.exchange.ExchangeConnector.ExchangeNotificationBatchhandleCallback(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, List<String> resourceUri)ExchangeConnectorInstancemakeInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end)voidrespondCallback(javax.servlet.http.HttpServletResponse resp, Connector.NotificationBatch<ExchangeNotification> notifications)voidstart(String connectorId, ExchangeConnectorConfig 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, isFailed, isManager, isReadOnly, isStarted, isStopped, marshal, 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
-
-
-
-
Field Detail
-
propnameFolderId
public static final String propnameFolderId
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(String connectorId, ExchangeConnectorConfig conf, String callbackUri, SynchEngine syncher)
- Specified by:
startin interfaceConnector<ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig>- Overrides:
startin classAbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>
-
getKind
public SynchDefs.SynchKind getKind()
-
makeInstance
public ExchangeConnectorInstance makeInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) throws SynchException
- Specified by:
makeInstancein classAbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>- Throws:
SynchException
-
handleCallback
public org.bedework.synch.cnctrs.exchange.ExchangeConnector.ExchangeNotificationBatch handleCallback(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, List<String> resourceUri) throws SynchException- Specified by:
handleCallbackin interfaceConnector<ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig>- Overrides:
handleCallbackin classAbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>- Throws:
SynchException
-
respondCallback
public void respondCallback(javax.servlet.http.HttpServletResponse resp, Connector.NotificationBatch<ExchangeNotification> notifications) throws SynchException- Specified by:
respondCallbackin interfaceConnector<ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig>- Overrides:
respondCallbackin classAbstractConnector<ExchangeConnector,ExchangeConnectorInstance,ExchangeNotification,ExchangeConnectorConfig,ExchangeSubscriptionInfo>- Throws:
SynchException
-
-