public class AutoAdminTask extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AutoAdminTask.PollFunction
The three different types of query for the pollAutoDirectory function
|
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTODEPLOY_DIR
Root directory for autodeploy.
|
static String |
AUTOINSTALL_DIR
Root directory for autoinstall.
|
static String |
COMP_DELIMITER
Separates the autoinstalled file's name from the component's name
|
static String |
DELIMITER
Separates the autodeployed file's name from the SA name
|
static String |
SL_DELIMITER
Separates the autoinstalled file's name from the shared library's name
|
| Constructor and Description |
|---|
AutoAdminTask(ManagementContext anEnv)
Constructs a AutoAdminTask.
|
AutoAdminTask(ManagementContext anEnv,
String aDirectoryForAutoInstall,
String aDirectoryForAutoDeploy,
boolean isAutoInstallEnabled,
boolean isAutoDeployEnabled)
Constructs a AutoAdminTask for use by junit tests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
performAutoDeploy()
Process autodeploy directory for new files.
|
void |
performAutoFunctions()
Process autoinstall and autodeploy directories.
|
void |
performAutoInstall()
Process autoinstall directory for new files.
|
void |
performAutoRedeploy()
Process autodeploy directory for updated files.
|
void |
performAutoReinstall()
Process autoinstall directory for updated files.
|
void |
performAutoUndeploy()
Process autodeploy directory for deleted files.
|
void |
performAutoUninstall()
Process autoinstall directory for deleted files.
|
public static final String AUTOINSTALL_DIR
public static final String AUTODEPLOY_DIR
public static final String DELIMITER
public static final String COMP_DELIMITER
public static final String SL_DELIMITER
public AutoAdminTask(ManagementContext anEnv)
anEnv - is the ManagementContext.public AutoAdminTask(ManagementContext anEnv, String aDirectoryForAutoInstall, String aDirectoryForAutoDeploy, boolean isAutoInstallEnabled, boolean isAutoDeployEnabled)
anEnv - is the ManagementContext.autoInstallDir - Directory for auto install dirautoDeployDir - Directory for auto deploy dirisAutoInstallEnabled - true iff the auto install permission bit set.isAutoDeployEnabled - true iff the auto deploy permission bit set.public void performAutoFunctions()
throws Exception
Exception - unexpectedly.public void performAutoInstall()
Exception - unexpectedly.public void performAutoDeploy()
Exception - unexpectedly.public void performAutoUninstall()
Exception - unexpectedly.public void performAutoUndeploy()
Exception - unexpectedly.public void performAutoReinstall()
throws IOException
IOException - unexpectedly.public void performAutoRedeploy()
throws IOException
IOException - unexpectedly.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.