return the first connector with the given class or null if none was found concode_field_sep Logger logger concode_elem_sep ConnectorCache cache concode_elem_sep ConnectorConfigurationRepository connectorConfigurationRepository concode_elem_sep List<ConnectorConfiguration> connectorDefinitions concode_elem_sep LoginAspect loginAspect concode_elem_sep ThreadsafeAspect threadsafeAspect concode_field_sep ConnectorCache getCache concode_elem_sep ConnectorStatus testConnectorConfiguration concode_elem_sep ConnectorStatus testConnectorConfiguration concode_elem_sep List<ConnectorConfiguration> getConnectorConfigurations concode_elem_sep List<ConnectorConfiguration> getConnectorConfigurations concode_elem_sep ConnectorConfiguration getConnectorConfiguration concode_elem_sep ConnectorConfiguration getConnectorDefinition concode_elem_sep void setConnectorCache concode_elem_sep List<Connector> getConnectors concode_elem_sep ConnectorStatus executeTest concode_elem_sep Connector instantiateConnector concode_elem_sep Connector instantiateConnector concode_elem_sep Connector instantiateConnector concode_elem_sep List<ConnectorConfiguration> getConnectorDefinitions
Connector function ( Class < ? extends Connector > arg0 ) { List < ConnectorConfiguration > loc0 = getConnectorConfigurations ( arg0 ) ; if ( ! loc0 . isEmpty ( ) ) { return getConnector ( loc0 . get ( 0 ) . getId ( ) ) ; } else { return null ; } }