|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEndpointConfigAPI
A collection of methods to manipulate Endpoints and Connections.
Method Summary | |
---|---|
IConnectionConfig |
createConnectionConfig(java.lang.String name)
Create a new un-configured connection configuration. |
IEndpointConfig |
createEndpoint(java.lang.String name)
Create a new Endpoint configuration |
void |
deleteConnectionConfig(java.lang.String name)
Delete the given connection configuration. |
void |
deleteEndpoint(java.lang.String name)
Delete the specified endpoint from the dS |
java.lang.String |
exportConnection(java.lang.String name)
Export the specified connection configuration |
java.lang.String |
exportEndpoint(java.lang.String name)
Export the specified endpoint configuration |
IConnectionConfig |
getConnectionConfig(java.lang.String name)
|
java.lang.String[] |
getContainersUsingConection(java.lang.String name)
Retrieve a list of all the containers configured to use the named connection as one of their connections (i.e. |
IEndpointConfig |
getEndpoint(java.lang.String name)
Retrieve the configuration details for a given endpoint. |
java.lang.String[] |
getEndpointsUsingConnection(java.lang.String name)
Retrieve a list of all the endpoints configured to use the named connection. |
IConnectionConfig |
importConnection(java.lang.String configurationContent,
boolean overwrite)
Import the specified connection configuration into the DS |
IEndpointConfig |
importEndpoint(java.lang.String configurationContent,
boolean overwrite)
Import the specified endpoint configuration into the DS |
java.lang.String[] |
listConnections()
List the define connection configurations' names |
IConnectionConfig.ConnectionType[] |
listConnectionTypes()
|
java.lang.String[] |
listEndpoints()
List the names of all known endpoints |
void |
saveConnection(IConnectionConfig connection)
Persist the changes made to the connection configuration. |
void |
saveEndpoint(IEndpointConfig endpoint)
Persist the changes made to the endpoint. |
Method Detail |
---|
IEndpointConfig createEndpoint(java.lang.String name)
name
- The name for the Endpoint
void deleteEndpoint(java.lang.String name)
name
- The name of the endpoint to be deletedIEndpointConfig importEndpoint(java.lang.String configurationContent, boolean overwrite)
configurationContent
- -
the XML representation of the configuration. use utility classes to retrieve from external storage.overwrite
- -
should existing configuration with same name be overwritten ? false - leave alone, true - overwrite
java.lang.String exportEndpoint(java.lang.String name)
name
- -
the endpoint name to be exported.
void saveEndpoint(IEndpointConfig endpoint)
endpoint
- the endpoint to be persistedjava.lang.String[] listEndpoints()
IEndpointConfig getEndpoint(java.lang.String name)
name
- the endpoint's name to be fetched
IConnectionConfig.ConnectionType[] listConnectionTypes()
java.lang.String[] listConnections()
IConnectionConfig getConnectionConfig(java.lang.String name)
name
- -
the desired connection configuration's name
void deleteConnectionConfig(java.lang.String name)
name
- -
the configuraion's name which is to be deleted.IConnectionConfig importConnection(java.lang.String configurationContent, boolean overwrite)
configurationContent
- -
the XML representation of the configuration. use utility classes to retrieve from external storage.java.lang.String exportConnection(java.lang.String name)
name
- -
the connection name to be exported.
void saveConnection(IConnectionConfig connection)
connection
- the connection to be persistedIConnectionConfig createConnectionConfig(java.lang.String name)
name
- -
the name to be assigned to this configuration.
java.lang.String[] getContainersUsingConection(java.lang.String name)
name
- a connection name
java.lang.String[] getEndpointsUsingConnection(java.lang.String name)
name
- the connection name
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |