Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.management;
 
 
 public interface BeanManager {
 
     void register(JITCompilerMBean jitCompiler);
 
     void register(ConfigMBean config);
    void register(ParserStatsMBean parserStats);
    void register(MethodCacheMBean methodCache);
    void register(ClassCacheMBean classCache);
    void register(Runtime runtime);
    void unregisterClassCache();
    void unregisterCompiler();
    void unregisterConfig();
    void unregisterMethodCache();
    void unregisterParserStats();
    
    void unregisterRuntime();

    
Attempt to shut down the current JVM's JMX agent. Uses reflection tricks, so it may fail; return value indicates if it was successful.

Returns:
true if successful; false otherwise
    boolean tryShutdownAgent();

    
Attempt to restart the current JVM's JMX agent. May fail, so the return value indicates success.

Returns:
true if successful; false otherwise
    boolean tryRestartAgent();
New to GrepCode? Check out our FAQ X