public class SimpleBrowseContext extends SimpleAtomContext implements BrowseContext
| Constructor and Description |
|---|
SimpleBrowseContext(AtomConfig config,
Connector connector,
OperationType opType,
Map<String,Object> connProps,
Map<String,Object> opProps)
Constructs a new SimpleBrowseContext
|
SimpleBrowseContext(AtomConfig config,
Connector connector,
OperationType opType,
String customOpType,
Map<String,Object> connProps,
Map<String,Object> opProps)
Constructs a new SimpleBrowseContext
|
| Modifier and Type | Method and Description |
|---|---|
PropertyMap |
getConnectionProperties()
Returns the relevant connection properties if this connector has the
requireConnectionForBrowse flag
enabled in the connector's descriptor. |
Connector |
getConnector()
Returns the connector instance with which this context is associated.
|
ConcurrentMap<Object,Object> |
getConnectorCache()
Returns the current connector cache.
|
String |
getCustomOperationType()
Returns the custom type of the operation that is currently being configured.
|
PropertyMap |
getOperationProperties()
Returns any operation properties flagged as
includeInBrowse for the current OperationType in the
connector's descriptor. |
OperationType |
getOperationType()
Returns the currently configured OperationType
|
SSLContext |
getSSLContext(PublicKeyStore publicKeyStore,
PrivateKeyStore privateKeyStore)
TODO CON-601 pull up in 2.1
Returns a
SSLContext. |
createSSLContext, createTempOutputStream, getConfig, tempOutputStreamToInputStream, tempOutputStreamToPayloadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTempOutputStream, getConfig, tempOutputStreamToInputStream, tempOutputStreamToPayloadpublic SimpleBrowseContext(AtomConfig config, Connector connector, OperationType opType, Map<String,Object> connProps, Map<String,Object> opProps)
config - the basic config for browsingopType - the type of operation for browsingconnProps - the connection properties for browsing, may be nullopProps - the operation properties for browsing, may be nullpublic SimpleBrowseContext(AtomConfig config, Connector connector, OperationType opType, String customOpType, Map<String,Object> connProps, Map<String,Object> opProps)
config - the basic config for browsingopType - the type of operation for browsingcustomOpType - the custom type of operation for browsingconnProps - the connection properties for browsing, may be nullopProps - the operation properties for browsing, may be nullpublic Connector getConnector()
ConnectorContextgetConnector in interface ConnectorContextpublic OperationType getOperationType()
BrowseContextgetOperationType in interface BrowseContextpublic String getCustomOperationType()
BrowseContextgetCustomOperationType in interface BrowseContextpublic PropertyMap getConnectionProperties()
ConnectorContextrequireConnectionForBrowse flag
enabled in the connector's descriptor.getConnectionProperties in interface ConnectorContextpublic PropertyMap getOperationProperties()
BrowseContextincludeInBrowse for the current OperationType in the
connector's descriptor.getOperationProperties in interface BrowseContextpublic ConcurrentMap<Object,Object> getConnectorCache()
ConnectorContextgetConnectorCache in interface ConnectorContextpublic SSLContext getSSLContext(PublicKeyStore publicKeyStore, PrivateKeyStore privateKeyStore) throws GeneralSecurityException
BrowseContextSSLContext. Passing null for public and private key stores will make an attempt to
configure it to use trusted JVM and deployed atom certificates if called during an operation execution.getSSLContext in interface BrowseContextGeneralSecurityException