|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMonitoredContainerConfigAPI
Method Summary | |
---|---|
void |
clearLogFiles(java.lang.String containerName)
Clear the current log and archived rolling logs of the container. |
void |
deleteElement(java.lang.String configID)
TODO: temporary, for debugging |
java.util.Set |
getAllMFContainers()
|
java.util.List |
getAutoStartContainers()
Return the list of monitored containers which will get checked for startup when the Workbench starts. |
java.lang.String |
getCachePassword(java.lang.String containerID)
Return the cache password of the container, or null if it's not set |
java.util.Map |
getComponentMap(java.lang.String containerName,
java.lang.String type)
Get the components of the given type which are hosted in the container |
IConfigElement[] |
getComponents(java.lang.String containerName,
java.lang.String type)
Get the components of the given type which are hosted in the container |
java.lang.String |
getContainerCacheDirectory(java.lang.String containerID)
Return the absolute value of the container cache directory. |
java.lang.String |
getContainerRuntimeID(java.lang.String containerConfigID)
Return the runtime id of the container, in the form |
java.lang.String |
getContainerWorkingDirectory(java.lang.String containerID)
Get the working directory of the container from its configuration |
java.io.File |
getMFContainerLogFile(java.lang.String containerName)
Return the java File object for the current log file for the container. |
java.util.Map |
getMonitoredMFContainerList()
Get the list of monitored MF containers with their auto-launch settings |
java.io.File[] |
getRollingLogs(java.lang.String containerName)
Get an array of all the rolling log files in the log file directory of the container. |
void |
removeMonitoredMFContainer(java.lang.String containerName)
Remove the MF container from the monitored containers list |
void |
setMonitoredMFContainerAutoLaunch(java.lang.String containerName,
boolean autoLaunch)
Add the container to the list of monitored containers with the given auto-launch setting. |
void |
setWorkbenchRoot(java.lang.String root)
Set the root of the Workbench workspace for the eclipse handler |
Method Detail |
---|
java.util.List getAutoStartContainers()
java.util.Map getMonitoredMFContainerList()
void removeMonitoredMFContainer(java.lang.String containerName) throws ESBAPIException
containerName
- The logical configuration name of the container
ESBAPIException
- If there is a problem communicating with the
directory service.void setMonitoredMFContainerAutoLaunch(java.lang.String containerName, boolean autoLaunch) throws ESBAPIException
containerName
- The configuration name of the containerautoLaunch
- true or false as desired.
ESBAPIException
- If there is a problem communicating with the domain for the configuration change.java.io.File getMFContainerLogFile(java.lang.String containerName)
containerName
- The configuration id of the container
java.io.File[] getRollingLogs(java.lang.String containerName)
containerName
- The logical ID of the MF container
void clearLogFiles(java.lang.String containerName)
containerName
- The logical name of the container, ie "/Containers/dev_ESBTest"void setWorkbenchRoot(java.lang.String root) throws ESBAPIException
root
- The root of the workspace opened in the Workbench
ESBAPIException
- if there's a problem making the change in the directory serviceIConfigElement[] getComponents(java.lang.String containerName, java.lang.String type) throws ESBAPIException
containerName
- The logical ID of the MF container to get components from.type
- The type of the components to be returned, for instance XQ_CONTAINER
ESBAPIException
- if the container doesn't exist or if there's a problem
communicating with the directory servicejava.util.Map getComponentMap(java.lang.String containerName, java.lang.String type) throws ESBAPIException
containerName
- The logical ID of the MF container to get components from.type
- The type of the components to be returned, for instance XQ_CONTAINER
ESBAPIException
- if the container doesn't exist or if there's a problem
communicating with the directory servicejava.lang.String getContainerRuntimeID(java.lang.String containerConfigID) throws ESBAPIException
containerConfigID
- The configuration name of the container, ie. "/Containers/DomainManager"
ESBAPIException
java.lang.String getContainerWorkingDirectory(java.lang.String containerID) throws ESBAPIException
containerID
- The logical configuration name of the container, ie. /Containers/Container1
ESBAPIException
- if the container does not exist or there's a problem
getting to the container configuration in the directory servicejava.util.Set getAllMFContainers()
java.lang.String getContainerCacheDirectory(java.lang.String containerID) throws ESBAPIException
containerID
- The logical container ID
ESBAPIException
- If the container does not exist or there is a problem communicating
with the directory service.java.lang.String getCachePassword(java.lang.String containerID) throws ESBAPIException
containerID
- the logical configuration id of the container
ESBAPIException
- if the container does not exist or there is a problem
communicating with the directory servicevoid deleteElement(java.lang.String configID) throws java.lang.Exception
java.lang.Exception
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |