/** * Get a Connector for access to the endpoint. If a connector has been bound to the * current thread then use it, else retrieve a transient connector instance from the * ConnectorService. * * @return Connector * * @throws ConnectorProviderException */ protected Connector getConnector() throws ConnectorProviderException { Connector conn = null; // use a default connector provider if none injected if (connectorProvider == null) { connectorProvider = new ConnectorProviderImpl(); } // provision connector conn = getConnectorProvider().provide(this.getEndpoint()); return conn; }
/** * Get a Connector for access to the endpoint. If a connector has been bound to the * current thread then use it, else retrieve a transient connector instance from the * ConnectorService. * * @return Connector * * @throws ConnectorProviderException */ protected Connector getConnector() throws ConnectorProviderException { Connector conn = null; // use a default connector provider if none injected if (connectorProvider == null) { connectorProvider = new ConnectorProviderImpl(); } // provision connector conn = getConnectorProvider().provide(this.getEndpoint()); return conn; }
/** * Get a Connector for access to the endpoint. If a connector has been bound to the * current thread then use it, else retrieve a transient connector instance from the * ConnectorService. * * @return Connector * * @throws RemoteConfigException */ protected Connector getConnector() throws ConnectorProviderException { Connector conn = null; // use a default connector provider if none injected if (connectorProvider == null) { connectorProvider = new ConnectorProviderImpl(); } // provision connector conn = getConnectorProvider().provide(this.getEndpoint()); return conn; }