All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.it.commons.jmx.NullMBeanRegistration Maven / Gradle / Ivy

The newest version!
package com.sap.it.commons.jmx;

import javax.management.MBeanRegistration;
import javax.management.MBeanServer;
import javax.management.ObjectName;

public class NullMBeanRegistration implements MBeanRegistration {
    private NullMBeanRegistration() {
    }

    public static final MBeanRegistration INSTANCE = new NullMBeanRegistration();

    @Override
    public ObjectName preRegister(MBeanServer server, ObjectName name) {
        return null;
    }

    @Override
    public void postRegister(Boolean registrationDone) {
    }

    @Override
    public void preDeregister() {
    }

    @Override
    public void postDeregister() {
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy