Package org.eclipse.emf.cdo.net4j
Class CDONet4jViewProvider
java.lang.Object
org.eclipse.emf.cdo.view.AbstractCDOViewProvider
org.eclipse.emf.cdo.net4j.CDONet4jViewProvider
- All Implemented Interfaces:
CDOViewProvider
,CDOViewProvider.CDOViewProvider2
- Direct Known Subclasses:
CDONet4jViewProvider.JVM
,CDONet4jViewProvider.SSL
,CDONet4jViewProvider.TCP
,CDONet4jViewProvider.WS
A
view provider
that uses Net4j-specific CDO sessions
to open views.- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A JVM-basedview provider
.static class
An SSL-basedview provider
.static class
A TCP-basedview provider
.static class
A WS-basedview provider
.Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.view.CDOViewProvider
CDOViewProvider.CDOViewProvider2
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.view.CDOViewProvider
DEFAULT_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CDOURIData
createURIData
(URI uri) protected org.eclipse.net4j.connector.IConnector
getConnector
(String authority) protected String
getConnectorDescription
(String authority) protected org.eclipse.net4j.util.container.IManagedContainer
protected CDONet4jSession
getNet4jSession
(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) protected CDONet4jSessionConfiguration
getNet4jSessionConfiguration
(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) Should be overridden for non-canonical URI formats!getResourceURI
(String transport, String authority, String repositoryName, String resourcePath, String branchPath, long timeStamp, boolean readOnly) getResourceURI
(CDOView view, String path) Must be overridden for non-canonical URI formats!protected CDOSession
getSession
(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) Deprecated.protected CDOSessionConfiguration
getSessionConfiguration
(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) Deprecated.protected String
getURIAuthority
(org.eclipse.net4j.connector.IConnector connector) getView
(URI uri, ResourceSet resourceSet) Receives a URI and returns an openedCDOView
against the repository.getViewURI
(URI uri) Should be overridden for non-canonical URI formats!Methods inherited from class org.eclipse.emf.cdo.view.AbstractCDOViewProvider
getActualName, getDeclaredName, getPriority, getRegex, getViewURI, matchesRegex, schemeRegex, setPriority, setRegex, toString
-
Field Details
-
transport
- Since:
- 4.3
-
-
Constructor Details
-
CDONet4jViewProvider
-
-
Method Details
-
getPath
Description copied from class:AbstractCDOViewProvider
Should be overridden for non-canonical URI formats!- Specified by:
getPath
in interfaceCDOViewProvider.CDOViewProvider2
- Overrides:
getPath
in classAbstractCDOViewProvider
-
getView
Description copied from interface:CDOViewProvider
Receives a URI and returns an openedCDOView
against the repository. -
getViewURI
Description copied from class:AbstractCDOViewProvider
Should be overridden for non-canonical URI formats!- Specified by:
getViewURI
in interfaceCDOViewProvider.CDOViewProvider2
- Overrides:
getViewURI
in classAbstractCDOViewProvider
-
getResourceURI
Description copied from class:AbstractCDOViewProvider
Must be overridden for non-canonical URI formats!- Specified by:
getResourceURI
in interfaceCDOViewProvider
- Overrides:
getResourceURI
in classAbstractCDOViewProvider
-
getResourceURI
public URI getResourceURI(String transport, String authority, String repositoryName, String resourcePath, String branchPath, long timeStamp, boolean readOnly) - Since:
- 4.4
-
createURIData
- Since:
- 4.3
-
getURIAuthority
-
getNet4jSession
protected CDONet4jSession getNet4jSession(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) - Since:
- 4.1
-
getNet4jSessionConfiguration
protected CDONet4jSessionConfiguration getNet4jSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) - Since:
- 4.1
-
getSession
@Deprecated protected CDOSession getSession(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) Deprecated.UsegetNet4jSession()
. -
getSessionConfiguration
@Deprecated protected CDOSessionConfiguration getSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName) Deprecated. -
getContainer
protected org.eclipse.net4j.util.container.IManagedContainer getContainer() -
getConnector
-
getConnectorDescription
-
getNet4jSession()
.