public abstract class CDONet4jViewProvider extends AbstractCDOViewProvider
view provider
that uses Net4j-specific CDO sessions
to open views.Modifier and Type | Class and Description |
---|---|
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 . |
CDOViewProvider.CDOViewProvider2
DEFAULT_PRIORITY
Constructor and Description |
---|
CDONet4jViewProvider(String transport,
int priority) |
Modifier and Type | Method and Description |
---|---|
protected IConnector |
getConnector(String authority) |
protected String |
getConnectorDescription(String authority) |
protected IManagedContainer |
getContainer() |
protected CDONet4jSession |
getNet4jSession(IConnector connector,
String userName,
String passWord,
String repositoryName) |
protected CDONet4jSessionConfiguration |
getNet4jSessionConfiguration(IConnector connector,
String userName,
String passWord,
String repositoryName) |
String |
getPath(URI uri)
Should be overwritten for non-canonical URI formats!
|
URI |
getResourceURI(CDOView view,
String path)
Must be overwritten for non-canonical URI formats!
|
protected CDOSession |
getSession(IConnector connector,
String userName,
String passWord,
String repositoryName)
Deprecated.
Use
getNet4jSession() . |
protected CDOSessionConfiguration |
getSessionConfiguration(IConnector connector,
String userName,
String passWord,
String repositoryName)
Deprecated.
|
protected String |
getURIAuthority(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 overwritten for non-canonical URI formats!
|
getPriority, getRegex, getViewURI, matchesRegex, setPriority, setRegex, toString
public CDONet4jViewProvider(String transport, int priority)
public CDOView getView(URI uri, ResourceSet resourceSet)
CDOViewProvider
CDOView
against the repository. The implementer is responsible to
do the UUID to physical host map in case necessary.CDOView
public String getPath(URI uri)
AbstractCDOViewProvider
getPath
in interface CDOViewProvider.CDOViewProvider2
getPath
in class AbstractCDOViewProvider
public URI getViewURI(URI uri)
AbstractCDOViewProvider
getViewURI
in interface CDOViewProvider.CDOViewProvider2
getViewURI
in class AbstractCDOViewProvider
public URI getResourceURI(CDOView view, String path)
AbstractCDOViewProvider
getResourceURI
in interface CDOViewProvider
getResourceURI
in class AbstractCDOViewProvider
protected String getURIAuthority(IConnector connector)
protected CDONet4jSession getNet4jSession(IConnector connector, String userName, String passWord, String repositoryName)
protected CDONet4jSessionConfiguration getNet4jSessionConfiguration(IConnector connector, String userName, String passWord, String repositoryName)
@Deprecated protected CDOSession getSession(IConnector connector, String userName, String passWord, String repositoryName)
getNet4jSession()
.@Deprecated protected CDOSessionConfiguration getSessionConfiguration(IConnector connector, String userName, String passWord, String repositoryName)
getNet4jSessionConfiguration()
.protected IManagedContainer getContainer()
protected IConnector getConnector(String authority)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html