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

nucleus.example.main.LogBroker Maven / Gradle / Ivy

There is a newer version: 0.2
Show newest version
package nucleus.example.main;

import nucleus.presenter.broker.Broker;

public class LogBroker extends Broker {

    private final String CLS = getClass().getSimpleName();

    public LogBroker() {
        System.out.println(CLS + ".constructor");
    }

    @Override
    public void onDestroy() {
        System.out.println(CLS + ".destroy");
    }

    @Override
    public void onTakeTarget(TargetType target) {
        System.out.println(CLS + ".onTakeTarget " + target);
    }

    @Override
    public void onDropTarget(TargetType target) {
        System.out.println(CLS + ".onDropTarget " + target);
    }

    @Override
    protected void onPresent(TargetType target) {
        System.out.println(CLS + ".onPresent " + target);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy