Package org.eclipse.emf.cdo.net4j

# Klasse CDONet4jViewProvider

java.lang.Object
org.eclipse.emf.cdo.view.AbstractCDOViewProvider
org.eclipse.emf.cdo.net4j.CDONet4jViewProvider

Alle implementierten Schnittstellen:
  `CDOViewProvider`, `CDOViewProvider.CDOViewProvider2`

Bekannte direkte Unterklassen:
  `CDONet4jViewProvider.JVM`, `CDONet4jViewProvider.SSL`, `CDONet4jViewProvider.TCP`, `CDONet4jViewProvider.WS`

public abstract class CDONet4jViewProvider extends AbstractCDOViewProvider
A `view provider` that uses Net4j-specific CDO `sessions` to open views.

Seit:
  4.0
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static class`
`CDONet4jViewProvider.JVM`
A JVM-based `view provider`.
`static class`
`CDONet4jViewProvider.SSL`
An SSL-based `view provider`.
`static class`
`CDONet4jViewProvider.TCP`
A TCP-based `view provider`.
`static class`
`CDONet4jViewProvider.WS`
A WS-based `view provider`.
`static class`
`CDONet4jViewProvider.WSS`
A WSS-based `view provider`.

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.view.CDOViewProvider

`CDOViewProvider.CDOViewProvider2`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`protected final String`
`transport`

### Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.view.CDOViewProvider

`DEFAULT_PRIORITY`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`CDONet4jViewProvider(String transport, int priority)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`protected 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`
`getContainer()`
`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)`
`String`
`getPath(URI uri)`
Should be overridden for non-canonical URI formats!
`URI`
`getResourceURI(String transport, String authority, String repositoryName, String resourcePath, String branchPath, long timeStamp, boolean readOnly)`
`URI`
`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)`
Veraltet.
Use `getNet4jSession()`.
`protected CDOSessionConfiguration`
`getSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName)`
Veraltet.
Use `getNet4jSessionConfiguration()`.
`protected String`
`getURIAuthority(org.eclipse.net4j.connector.IConnector connector)`
`CDOView`
`getView(URI uri, ResourceSet resourceSet)`
Receives a URI and returns an opened `CDOView` against the repository.
`URI`
`getViewURI(URI uri)`
Should be overridden for non-canonical URI formats!

### Von Klasse geerbte Methoden org.eclipse.emf.cdo.view.AbstractCDOViewProvider

`getActualName, getDeclaredName, getPriority, getRegex, getViewURI, matchesRegex, schemeRegex, setPriority, setRegex, toString`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Felddetails

### transport

protected final String transport

Seit:
  4.3

## Konstruktordetails

### CDONet4jViewProvider

public CDONet4jViewProvider(String transport, int priority)

## Methodendetails

### getPath

public String getPath(URI uri)
Beschreibung aus Klasse kopiert: `AbstractCDOViewProvider`
Should be overridden for non-canonical URI formats!

Angegeben von:
  `getPath` in Schnittstelle `CDOViewProvider.CDOViewProvider2`
Setzt außer Kraft:
  `getPath` in Klasse `AbstractCDOViewProvider`

### getView

public CDOView getView(URI uri, ResourceSet resourceSet)
Beschreibung aus Schnittstelle kopiert: `CDOViewProvider`
Receives a URI and returns an opened `CDOView` against the repository.

### getViewURI

public URI getViewURI(URI uri)
Beschreibung aus Klasse kopiert: `AbstractCDOViewProvider`
Should be overridden for non-canonical URI formats!

Angegeben von:
  `getViewURI` in Schnittstelle `CDOViewProvider.CDOViewProvider2`
Setzt außer Kraft:
  `getViewURI` in Klasse `AbstractCDOViewProvider`

### getResourceURI

public URI getResourceURI(CDOView view, String path)
Beschreibung aus Klasse kopiert: `AbstractCDOViewProvider`
Must be overridden for non-canonical URI formats!

Angegeben von:
  `getResourceURI` in Schnittstelle `CDOViewProvider`
Setzt außer Kraft:
  `getResourceURI` in Klasse `AbstractCDOViewProvider`

### getResourceURI

public URI getResourceURI(String transport, String authority, String repositoryName, String resourcePath, String branchPath, long timeStamp, boolean readOnly)

Seit:
  4.4

### createURIData

protected CDOURIData createURIData(URI uri)

Seit:
  4.3

### getURIAuthority

protected String getURIAuthority(org.eclipse.net4j.connector.IConnector connector)

### getNet4jSession

protected CDONet4jSession getNet4jSession(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName)

Seit:
  4.1

### getNet4jSessionConfiguration

protected CDONet4jSessionConfiguration getNet4jSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName)

Seit:
  4.1

### getSession

@Deprecated protected CDOSession getSession(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName)
Veraltet.
Use `getNet4jSession()`.

### getSessionConfiguration

@Deprecated protected CDOSessionConfiguration getSessionConfiguration(org.eclipse.net4j.connector.IConnector connector, String userName, String passWord, String repositoryName)
Veraltet.
Use `getNet4jSessionConfiguration()`.

### getContainer

protected org.eclipse.net4j.util.container.IManagedContainer getContainer()

### getConnector

protected org.eclipse.net4j.connector.IConnector getConnector(String authority)

### getConnectorDescription

protected String getConnectorDescription(String authority)