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

org.echocat.jemoni.jmx.RegistrationWithFacade Maven / Gradle / Ivy

There is a newer version: 0.1.11
Show newest version
/*****************************************************************************************
 * *** BEGIN LICENSE BLOCK *****
 *
 * Version: MPL 2.0
 *
 * echocat JeMoni, Copyright (c) 2012 echocat
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * *** END LICENSE BLOCK *****
 ****************************************************************************************/

package org.echocat.jemoni.jmx;

import javax.annotation.Nonnull;
import javax.management.ObjectName;

public class RegistrationWithFacade extends Registration {

    private final BeanFacade _facade;

    public RegistrationWithFacade(@Nonnull ObjectName objectName, @Nonnull BeanFacade facade, @Nonnull Handler handler) {
        super(objectName, facade, handler);
        _facade = facade;
    }

    @Nonnull
    public BeanFacade getFacade() {
        return _facade;
    }

}