Code example for Logger

Methods: log

0
    @Override 
    public boolean isRegistered(String mBeanName) {
        try { 
            return server.isRegistered(createObjectName(mBeanName));
        } catch (MalformedObjectNameException e) {
            LOGGER.log(Level.WARNING, "Unable to register MBean " + mBeanName, e);
            return false; 
        } 
    } 
 
    @Override 
    public void unregisterMBean(String mBeanName) {
        try { 
            server.unregisterMBean(createObjectName(mBeanName));
        } catch (Exception e) {
            LOGGER.log(Level.WARNING, "Unable to register MBean " + mBeanName, e);
        } 
    } 
 
    @Override 
    public void registerMBean(Object mBean, String mBeanName) {