@ManagedResource(description="Executes Groovy scripts on Middleware")
public interface ScriptingManagerMBean
Scripting
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRootPath() |
java.lang.String |
runGroovyScript(java.lang.String scriptName) |
java.lang.String getRootPath()
@ManagedOperation(description="Execute a Groovy script. Binding contains variables: persistence, metadata, configuration") @ManagedOperationParameters(value=@ManagedOperationParameter(name="scriptName",description="path to the script relative to conf dir or to the classpath root")) java.lang.String runGroovyScript(java.lang.String scriptName)