public String getName() {
        final String s = log.getName();
        final int i = s.lastIndexOf(".");
        return i != -1 ? s.substring(i + 1, s.length()) : s;
    }
public String getName() {
        final String s = log.getName();
        final int i = s.lastIndexOf(".");
        return i != -1 ? s.substring(i + 1, s.length()) : s;
    }
public String getName ( ) { final String s = log . getName ( ) ; final int i = s . lastIndexOf ( "." ) ; return i != - 1 ? s . substring ( i + 1 , s . length ( ) ) : s ; }
Use the short class name as the default for the service name.

@return a description of the mbean
Use the short class name as the default for the service name .