public final class Locator extends Object
Modifier and Type | Method and Description |
---|---|
static <T extends EquinoxApplication> |
findApplication(org.eclipse.emf.ecore.EObject start,
Class<T> clazz) |
static Connection |
findConnection(EquinoxApplication source,
Collection<Endpoint> target) |
static Connection |
findConnection(MasterServer master,
String name,
Class<DataAccessConnection> clazz) |
static <T extends Connection> |
findConnections(EquinoxApplication app,
Class<T> clazz)
Find all connections of a master server of the given type
|
static <T extends Exporter> |
findExporter(org.eclipse.emf.ecore.EObject start,
Class<T> clazz) |
static <T extends Exporter> |
findExporters(org.eclipse.emf.ecore.EObject start,
Class<T> clazz) |
static Collection<Endpoint> |
findLocalEndpoints(Exporter exp) |
static <T extends Connection> |
findPossibleConnection(EquinoxApplication from,
EquinoxApplication to,
Class<T> clazz)
Find exactly one connection between two master servers
|
static <T extends Connection> |
findPossibleConnections(EquinoxApplication from,
EquinoxApplication to,
Class<T> clazz)
Find all connections of the give type from master server
fromto master server to |
static List<Endpoint> |
getSelfEndpoints(MasterServer master) |
public static Collection<Endpoint> findLocalEndpoints(Exporter exp)
public static <T extends Connection> List<T> findConnections(EquinoxApplication app, Class<T> clazz)
public static <T extends Connection> List<T> findPossibleConnections(EquinoxApplication from, EquinoxApplication to, Class<T> clazz)
fromto master server
to
public static <T extends Connection> T findPossibleConnection(EquinoxApplication from, EquinoxApplication to, Class<T> clazz)
Calls #findPossibleConnections(MasterServer, MasterServer, Class)
but fails if the result is not equal to
one
exactly.
public static <T extends Exporter> List<T> findExporters(org.eclipse.emf.ecore.EObject start, Class<T> clazz)
public static <T extends Exporter> T findExporter(org.eclipse.emf.ecore.EObject start, Class<T> clazz)
public static <T extends EquinoxApplication> T findApplication(org.eclipse.emf.ecore.EObject start, Class<T> clazz)
public static Connection findConnection(EquinoxApplication source, Collection<Endpoint> target)
public static List<Endpoint> getSelfEndpoints(MasterServer master)
public static Connection findConnection(MasterServer master, String name, Class<DataAccessConnection> clazz)