|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginDeploymentScannerMBean
| Field Summary | |
|---|---|
static ObjectName |
OBJECT_NAME
The name this service will be registered as. |
| Method Summary | |
|---|---|
File |
getAgentPluginDir()
Gets the directory name where the agent plugin jars are located. |
Long |
getScanPeriod()
Gets the amount of time (in milliseconds) between scans. |
File |
getServerPluginDir()
Gets the directory name where the server plugin jars are located. |
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(File name)
Sets the directory where the agent plugin jars are located. |
void |
setScanPeriod(Long ms)
Sets the amount of time (in milliseconds) between scans. |
void |
setServerPluginDir(File name)
Sets the directory where the server plugin jars are located. |
void |
setUserPluginDir(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 ObjectName OBJECT_NAME
| Method Detail |
|---|
void start()
throws Exception
Exceptionvoid stop()
void startDeployment()
void scan()
throws Exception
ExceptionscanAndRegister()
void scanAndRegister()
throws Exception
Exceptionvoid setScanPeriod(Long ms)
ms - time in millis between each scansLong getScanPeriod()
void setUserPluginDir(File name)
name - the name of the plugins dir where the user can copy pluginsFile getUserPluginDir()
null, do not look for any user plugins.
void setServerPluginDir(File name)
name - the name of the server plugins dirFile getServerPluginDir()
void setAgentPluginDir(File name)
name - the name of the agent plugins dirFile getAgentPluginDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||