git-svn-id: http://talendforge.org/svn/tos/trunk@73207 f6f1c999-d317-4740-80b0-e6d1abc6f99e
46 lines
1.3 KiB
Java
46 lines
1.3 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2011 Talend Inc. - www.talend.com
|
|
* All rights reserved.
|
|
*
|
|
* This program and the accompanying materials are made available
|
|
* under the terms of the Apache License v2.0
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
******************************************************************************/
|
|
package routines.system.api;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* Describes the generic Endpoint
|
|
*/
|
|
public interface ESBEndpointInfo {
|
|
|
|
/**
|
|
* Returns a component identifier that should be used
|
|
* to be configured with given {@link ESBEndpointInfo}
|
|
*
|
|
* @return a non-null {@link String} unique for type of endpoint
|
|
*/
|
|
public String getEndpointKey();
|
|
|
|
/**
|
|
* Returns a URI String for the endpoint.
|
|
* This URI should be understood by the consumer
|
|
* with given {@link #getEndpointKey()}
|
|
*
|
|
* @return a non-null {@link String}, ideally a URI
|
|
*/
|
|
public String getEndpointUri();
|
|
|
|
/**
|
|
* Additional endpoint properties that
|
|
* would be required to configure endpoint
|
|
*
|
|
* @return
|
|
*/
|
|
public Map<String, Object> getEndpointProperties();
|
|
|
|
}
|