endpointId = this.remoteConfig.getDefaultEndpointId();
/** * Constructs a remote connector to a default endpoint (if configured). * If a default endpoint is not configured, null will be returned. * * @return the remote client */ @ScriptMethod ( help="Constructs a remote connector to a default endpoint (if configured).\nIf a default endpoint is not configured, null will be returned.", output="The remote client" ) public ScriptRemoteConnector connect() { ScriptRemoteConnector remoteConnector = null; // Check whether a remote configuration has been provided RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { // See if we have a default endpoint id String defaultEndpointId = remoteConfig.getDefaultEndpointId(); if (defaultEndpointId != null) { // Construct for this endpoint id remoteConnector = connect(defaultEndpointId); } } return remoteConnector; }
endpointId = this.remoteConfig.getDefaultEndpointId();
/** * Constructs a remote connector to a default endpoint (if configured). * If a default endpoint is not configured, null will be returned. * * @return the remote client */ @ScriptMethod ( help="Constructs a remote connector to a default endpoint (if configured).\nIf a default endpoint is not configured, null will be returned.", output="The remote client" ) public ScriptRemoteConnector connect() { ScriptRemoteConnector remoteConnector = null; // Check whether a remote configuration has been provided RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { // See if we have a default endpoint id String defaultEndpointId = remoteConfig.getDefaultEndpointId(); if (defaultEndpointId != null) { // Construct for this endpoint id remoteConnector = connect(defaultEndpointId); } } return remoteConnector; }
/** * Constructs a remote connector to a default endpoint (if configured). * If a default endpoint is not configured, null will be returned. * * @return the remote client */ @ScriptMethod ( help="Constructs a remote connector to a default endpoint (if configured).\nIf a default endpoint is not configured, null will be returned.", output="The remote client" ) public ScriptRemoteConnector connect() { ScriptRemoteConnector remoteConnector = null; // Check whether a remote configuration has been provided RemoteConfigElement remoteConfig = getRemoteConfig(); if (remoteConfig != null) { // See if we have a default endpoint id String defaultEndpointId = remoteConfig.getDefaultEndpointId(); if (defaultEndpointId != null) { // Construct for this endpoint id remoteConnector = connect(defaultEndpointId); } } return remoteConnector; }