public void init() { if (this.connectorService == null) { throw new IllegalArgumentException("ConnectorService reference is mandatory for RemoteStore."); } if (this.getEndpoint() == null || getEndpoint().length() == 0) { throw new IllegalArgumentException("Endpoint ID is mandatory for RemoteStore."); } if (this.getApi() == null || this.getApi().length() == 0) { throw new IllegalArgumentException("API name is mandatory for RemoteStore."); } if (this.getStorePath() == null) { throw new IllegalArgumentException("Path prefix is mandatory for RemoteStore."); } if (logger.isDebugEnabled()) { logger.debug("RemoteStore initialised with endpoint id '" + this.getEndpoint() + "' API path '" + this.getApi() + "' path prefix '" + this.getStorePath() + "'."); } }
public void init() { if (this.connectorService == null) { throw new IllegalArgumentException("ConnectorService reference is mandatory for RemoteStore."); } if (this.getEndpoint() == null || getEndpoint().length() == 0) { throw new IllegalArgumentException("Endpoint ID is mandatory for RemoteStore."); } if (this.getApi() == null || this.getApi().length() == 0) { throw new IllegalArgumentException("API name is mandatory for RemoteStore."); } if (this.getStorePath() == null) { throw new IllegalArgumentException("Path prefix is mandatory for RemoteStore."); } if (logger.isDebugEnabled()) { logger.debug("RemoteStore initialised with endpoint id '" + this.getEndpoint() + "' API path '" + this.getApi() + "' path prefix '" + this.getStorePath() + "'."); } }
public void init() { if (this.connectorService == null) { throw new IllegalArgumentException("ConnectorService reference is mandatory for RemoteStore."); } if (this.getEndpoint() == null || getEndpoint().length() == 0) { throw new IllegalArgumentException("Endpoint ID is mandatory for RemoteStore."); } if (this.getApi() == null || this.getApi().length() == 0) { throw new IllegalArgumentException("API name is mandatory for RemoteStore."); } if (this.getStorePath() == null) { throw new IllegalArgumentException("Path prefix is mandatory for RemoteStore."); } if (logger.isDebugEnabled()) { logger.debug("RemoteStore initialised with endpoint id '" + this.getEndpoint() + "' API path '" + this.getApi() + "' path prefix '" + this.getStorePath() + "'."); } }
buf.append(this.getApi()); buf.append('/'); buf.append(method);
buf.append(this.getApi()); buf.append('/'); buf.append(method);
buf.append(this.getApi()); buf.append('/'); buf.append(method);