|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginDeploymentScannerMBean
| Field Summary | |
|---|---|
static javax.management.ObjectName |
OBJECT_NAME
The name this service will be registered as. |
| Method Summary | |
|---|---|
java.io.File |
getAgentPluginDir()
Gets the directory name where the agent plugin jars are located. |
java.io.File |
getLicenseFile()
|
java.lang.Long |
getScanPeriod()
Gets the amount of time (in milliseconds) between scans. |
java.io.File |
getServerPluginDir()
Gets the directory name where the server plugin jars are located. |
java.io.File |
getUserPluginDir()
Gets the directory name where the user can place agent or server plugin jars. |
void |
scan()
This will scan the database for new/updated plugins and if it finds any, will write the content as plugin files in the file system. |
void |
scanAndRegister()
This will scan the database for new/updated plugins and if it finds any, will write the content as plugin files in the file system. |
void |
setAgentPluginDir(java.io.File name)
Sets the directory where the agent plugin jars are located. |
void |
setLicenseFile(java.io.File name)
|
void |
setScanPeriod(java.lang.Long ms)
Sets the amount of time (in milliseconds) between scans. |
void |
setServerPluginDir(java.io.File name)
Sets the directory where the server plugin jars are located. |
void |
setUserPluginDir(java.io.File name)
Sets the directory where the user can place agent or server plugin jars. |
void |
start()
|
void |
startDeployment()
This is called separately from the start/stop lifecycle methods. |
void |
stop()
|
| Field Detail |
|---|
static final javax.management.ObjectName OBJECT_NAME
| Method Detail |
|---|
void start()
throws java.lang.Exception
java.lang.Exceptionvoid stop()
void startDeployment()
void scan()
throws java.lang.Exception
java.lang.ExceptionscanAndRegister()
void scanAndRegister()
throws java.lang.Exception
java.lang.Exceptionvoid setScanPeriod(java.lang.Long ms)
ms - time in millis between each scansjava.lang.Long getScanPeriod()
void setUserPluginDir(java.io.File name)
name - the name of the plugins dir where the user can copy pluginsjava.io.File getUserPluginDir()
null, do not look for any user plugins.
void setServerPluginDir(java.io.File name)
name - the name of the server plugins dirjava.io.File getServerPluginDir()
void setAgentPluginDir(java.io.File name)
name - the name of the agent plugins dirjava.io.File getAgentPluginDir()
void setLicenseFile(java.io.File name)
java.io.File getLicenseFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||