|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContainerConfig
A container holds service instances and deployed processes. The methods in this interface allow the user to manipulate both the container
configuration, and the set of services and configurations deployed within it .
Note: since multiple ESB containers in an MF container are supported, but not the distinction between MF and ESB containers is not fully
exposed in this API, the following are not exposed: Deployment parameters, JVM args, working directory. To modify any of the
aforementioned values com.sonicsw.mf.mgmtapi.config.impl.ContainerBean
and related API's must be used.
Method Summary | |
---|---|
void |
addProcess(IProcessConfig process,
int listeners)
Deploy a process into this container. |
void |
addService(IServiceApplicationConfig config)
Deploy a service or process into this container (Advanced Use). |
void |
addService(java.lang.String name,
int listeners)
Deploy a service into this container. |
IActionalConfig |
getActionalConfig()
Retrieve the Actional related configuration. |
java.lang.String |
getArchiveName()
Get the archive name containing the container implementation (Advanced use!). |
java.lang.String[] |
getClasspathElements()
Get the prepend classpath elements. |
java.lang.String |
getHTTPDefaultConnection()
Get the connection name used by the container for HTTP requests. |
IConnectionConfig |
getHTTPDefaultConnectionConfig()
Get the connection configuration used by the container for HTTP requests. |
java.lang.String |
getJMSDefaultConnection()
Get the Bus connection name used by the container. |
IConnectionConfig |
getJMSDefaultConnectionConfig()
Get the Bus connection configuration used by the container. |
java.lang.String |
getLog4jConfiguration()
Get the optional log4j configuration. |
java.lang.String[] |
getProcessNames()
|
IServiceApplicationConfig |
getService(java.lang.String name)
Retrieve the configuration for a particular service or process deployed in the container. |
java.lang.String[] |
getServiceNames()
|
java.lang.String |
getSpringConfiguration()
Get the optional spring configuration files. |
java.lang.String |
getXQContainerName()
|
boolean |
removeProcess(java.lang.String processName)
Remove a deployed process from the container. |
boolean |
removeService(java.lang.String serviceConfigName)
Remove a deployed service from the container. |
void |
setActionalConfig(IActionalConfig actionalConfig)
Set the Actional related configuration. |
void |
setArchiveName(java.lang.String name)
Set the archive name containing the container implementation (Advanced use!). |
void |
setClasspathElements(java.lang.String[] classpath)
Set (in an ordered list) the container wide configured classpath entries. |
void |
setHTTPDefaultConnection(java.lang.String connectionName)
Set the connection configuration use by the container for HTTP requests. |
void |
setHTTPDefaultConnectionConfig(IConnectionConfig connectionConfig)
Set the connection configuration use by the container for HTTP requests. |
void |
setJMSDefaultConnection(java.lang.String connectionName)
Set the Bus connection name for the container. |
void |
setJMSDefaultConnectionConfig(IConnectionConfig connectionConfig)
Set the Bus connection configuration for the container. |
void |
setLog4jConfiguration(java.lang.String name)
Set the optional log4j configuration. |
void |
setSpringConfiguration(java.lang.String config)
Set the optional spring configuration files. |
void |
setUseIntraContainer(boolean uic)
Enable or disable intra-container messaging. |
boolean |
useIntraContainer()
Get if if intra-container messaging is enabled. |
Methods inherited from interface com.sonicsw.esb.mgmtapi.config.IBaseConfig |
---|
getName, getType |
Method Detail |
---|
java.lang.String[] getClasspathElements()
void setClasspathElements(java.lang.String[] classpath)
java.lang.String getArchiveName()
void setArchiveName(java.lang.String name)
boolean useIntraContainer()
void setUseIntraContainer(boolean uic)
uic
- IActionalConfig getActionalConfig()
void setActionalConfig(IActionalConfig actionalConfig)
java.lang.String getJMSDefaultConnection()
void setJMSDefaultConnection(java.lang.String connectionName)
IConnectionConfig getJMSDefaultConnectionConfig()
void setJMSDefaultConnectionConfig(IConnectionConfig connectionConfig)
java.lang.String getHTTPDefaultConnection()
void setHTTPDefaultConnection(java.lang.String connectionName)
IConnectionConfig getHTTPDefaultConnectionConfig()
void setHTTPDefaultConnectionConfig(IConnectionConfig connectionConfig)
java.lang.String getXQContainerName()
java.lang.String[] getServiceNames()
java.lang.String[] getProcessNames()
IServiceApplicationConfig getService(java.lang.String name)
name
- the service's or processe's name
void addService(IServiceApplicationConfig config)
config
- -
the deployment configuration.void addService(java.lang.String name, int listeners)
name
- -
the service instance's namelisteners
- -
the number of instances for the servicevoid addProcess(IProcessConfig process, int listeners)
process
- -
the processe's configurationlisteners
- -
the number of instances for the serviceboolean removeService(java.lang.String serviceConfigName)
serviceConfigName
- -
the service's name
boolean removeProcess(java.lang.String processName)
processName
- -
the process's name
java.lang.String getSpringConfiguration()
void setSpringConfiguration(java.lang.String config)
config
- -
A ';' delimited list of spring bean configuration files (.properties or XML) that will be applied in order to the
container's application contextjava.lang.String getLog4jConfiguration()
void setLog4jConfiguration(java.lang.String name)
name
- -
the log4j configuration file URL
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |