/** * Returns the connector type converter for the given <code>connectorType</code>. * * @param connectorType connector type * @return Returns the connector type converter for the given <code>connectorType</code> */ public ConnectorTypeConverter getTypeConverter(final String connectorType) { return getPlugin(connectorType).getTypeConverter(); }
/** * Installs the plugins. * * @param connectorPlugin service plugin */ private void installPlugin(final ConnectorPlugin connectorPlugin) { this.connectorManager.addPlugin(connectorPlugin); this.typeConverterFactory.register(connectorPlugin.getType(), connectorPlugin.getTypeConverter()); } }