Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionManager.getConnection(ConnectionID id)
Returns the connection with the given ID.
|
<T extends Connection> |
ConnectionManager.getConnections(java.lang.Class<T> connectionType,
PluginContext context,
java.lang.Object... objects)
Returns a collection of connections between the objects specified, such
that the type of the connection is assignable from the given
connectionType (unless the parameter equals null).
|
<T extends Connection> |
ConnectionManager.getFirstConnection(java.lang.Class<T> connectionType,
PluginContext context,
java.lang.Object... objects)
Returns a connection between the objects specified, such that the type of
the connection is assignable from the given connectionType (unless the
parameter equals null).
|
Constructor and Description |
---|
ConnectionCannotBeObtained(java.lang.String reason,
ConnectionCannotBeObtained ex)
Constructor with message and cause
|
Modifier and Type | Method and Description |
---|---|
Connection |
ConnectionManagerImpl.getConnection(ConnectionID id) |
<T extends Connection> |
ConnectionManagerImpl.getConnections(java.lang.Class<T> connectionType,
PluginContext context,
java.lang.Object... objects) |
<T extends Connection> |
ConnectionManagerImpl.getFirstConnection(java.lang.Class<T> connectionType,
PluginContext context,
java.lang.Object... objects) |
Modifier and Type | Method and Description |
---|---|
<T,C extends Connection> |
ObjectConstructor.tryToFindOrConstructAllObjects(java.lang.Class<T> type,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input)
Finds as many objects of the given type as can be found through the
connections of the other given type.
|
<T,C extends Connection> |
ObjectConstructor.tryToFindOrConstructFirstNamedObject(java.lang.Class<T> type,
java.lang.String name,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input)
Returns the first object of the given type as can be found through the
connections of the other given type.
|
<T,C extends Connection> |
ObjectConstructor.tryToFindOrConstructFirstObject(java.lang.Class<T> type,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input)
Returns the first object of the given type as can be found through the
connections of the other given type.
|
Modifier and Type | Method and Description |
---|---|
<T,C extends Connection> |
AbstractPluginContext.tryToFindOrConstructAllObjects(java.lang.Class<T> type,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input) |
<T,C extends Connection> |
AbstractPluginContext.tryToFindOrConstructFirstNamedObject(java.lang.Class<T> type,
java.lang.String name,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input) |
<T,C extends Connection> |
AbstractPluginContext.tryToFindOrConstructFirstObject(java.lang.Class<T> type,
java.lang.Class<C> connectionType,
java.lang.String role,
java.lang.Object... input) |