|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.cycle.connector.ConnectorRegistry
@Component public class ConnectorRegistry
| Constructor Summary | |
|---|---|
ConnectorRegistry()
|
|
| Method Summary | |
|---|---|
ConnectorCache |
getCache()
|
Connector |
getConnector(Class<? extends Connector> cls)
Return the first connector with the given class or null if none was found |
Connector |
getConnector(long connectorId)
Return a connector with the given id |
List<ConnectorConfiguration> |
getConnectorConfigurations()
Returns a list of all connector configurations known to this registry |
List<ConnectorConfiguration> |
getConnectorConfigurations(Class<? extends Connector> cls)
Returns a list of connector configurations for a given connector class |
ConnectorConfiguration |
getConnectorDefinition(Class<? extends Connector> cls)
Returns the connector definition for the given connector class or null if no definition was found. |
List<ConnectorConfiguration> |
getConnectorDefinitions()
Return a list of default configurations |
List<Connector> |
getConnectors()
Eagerly loads all connectors for which a connector configuration is available and returns the connectors |
void |
setConnectorCache(ConnectorCache cache)
|
ConnectorStatus |
testConnectorConfiguration(ConnectorConfiguration config)
|
ConnectorStatus |
testConnectorConfiguration(ConnectorConfiguration config,
String username,
String password)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorRegistry()
| Method Detail |
|---|
@Inject public void setConnectorCache(ConnectorCache cache)
public List<ConnectorConfiguration> getConnectorDefinitions()
public ConnectorConfiguration getConnectorDefinition(Class<? extends Connector> cls)
null if no definition was found.
cls -
public List<ConnectorConfiguration> getConnectorConfigurations()
public List<ConnectorConfiguration> getConnectorConfigurations(Class<? extends Connector> cls)
cls -
public Connector getConnector(Class<? extends Connector> cls)
cls -
public Connector getConnector(long connectorId)
connectorId -
CycleException - if the connector is unavailablepublic ConnectorCache getCache()
public List<Connector> getConnectors()
public ConnectorStatus testConnectorConfiguration(ConnectorConfiguration config)
public ConnectorStatus testConnectorConfiguration(ConnectorConfiguration config,
String username,
String password)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||