Skip to content

Instantly share code, notes, and snippets.

@atishn
Created August 1, 2014 19:21
Show Gist options
  • Save atishn/e0970be501831547561d to your computer and use it in GitHub Desktop.
Save atishn/e0970be501831547561d to your computer and use it in GitHub Desktop.
Java Melody Configuration
Case1
@net.bull.javamelody.MonitoredWithSpring
public interface Test {
void myMethod();
}
or
Case2
public interface Test {
     @net.bull.javamelody.MonitoredWithSpring
        void myMethod();
    }
or
Case3
@net.bull.javamelody.MonitoredWithSpring
public class TestImpl implements Test {
     public void myMethod() {...}
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment