|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.cdo.view.AbstractCDOViewProvider org.eclipse.emf.cdo.net4j.CDONet4jViewProvider
A view provider
that uses Net4j-specific CDO sessions
to open views.
Nested Class Summary | |
---|---|
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 . |
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.cdo.view.CDOViewProvider |
---|
DEFAULT_PRIORITY |
Constructor Summary | |
---|---|
CDONet4jViewProvider(String transport,
int priority)
|
Method Summary | |
---|---|
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)
|
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. Use getNet4jSessionConfiguration() . |
protected String |
getURIAuthority(IConnector connector)
|
CDOView |
getView(URI uri,
ResourceSet resourceSet)
Receives a URI and returns an opened CDOView against the repository. |
Methods inherited from class org.eclipse.emf.cdo.view.AbstractCDOViewProvider |
---|
getPriority, getRegex, matchesRegex, setPriority, setRegex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDONet4jViewProvider(String transport, int priority)
Method Detail |
---|
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 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)
protected String getConnectorDescription(String authority)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |