// Path: org.fipro.mafia.common/src/org/fipro/mafia/common/MafiaBossConstants.java
// public final class MafiaBossConstants {
// 
//     private MafiaBossConstants() {
//         // private default constructor for constants class
//         // to avoid someone extends the class
//     }
// 
//     public static final String TOPIC_BASE = "org/fipro/mafia/Boss/";
//     public static final String TOPIC_CONVINCE = TOPIC_BASE + "CONVINCE";
//     public static final String TOPIC_ENCASH = TOPIC_BASE + "ENCASH";
//     public static final String TOPIC_SOLVE = TOPIC_BASE + "SOLVE";
//     public static final String TOPIC_ALL = TOPIC_BASE + "*";
// 
//     public static final String PROPERTY_KEY_TARGET = "target";
// 
// }


import org.fipro.mafia.common.MafiaBossConstants;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.event.Event;
import org.osgi.service.event.EventConstants;
import org.osgi.service.event.EventHandler;
package org.fipro.mafia.soldier;


@Component(
    property = EventConstants.EVENT_TOPIC
        + "=" + MafiaBossConstants.TOPIC_ENCASH)
public class Mario implements EventHandler {

    @Override
    public void handleEvent(Event event) {
        System.out.println("Mario: "
// Path: org.fipro.mafia.common/src/org/fipro/mafia/common/MafiaBossConstants.java
// public final class MafiaBossConstants {
// 
//     private MafiaBossConstants() {
//         // private default constructor for constants class
//         // to avoid someone extends the class
//     }
// 
//     public static final String TOPIC_BASE = "org/fipro/mafia/Boss/";
//     public static final String TOPIC_CONVINCE = TOPIC_BASE + "CONVINCE";
//     public static final String TOPIC_ENCASH = TOPIC_BASE + "ENCASH";
//     public static final String TOPIC_SOLVE = TOPIC_BASE + "SOLVE";
//     public static final String TOPIC_ALL = TOPIC_BASE + "*";
// 
//     public static final String PROPERTY_KEY_TARGET = "target";
// 
// }


// Path: org.fipro.mafia.soldier/src/org/fipro/mafia/soldier/Mario.java
import org.fipro.mafia.common.MafiaBossConstants;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.event.Event;
import org.osgi.service.event.EventConstants;
import org.osgi.service.event.EventHandler;

package org.fipro.mafia.soldier;


@Component(
    property = EventConstants.EVENT_TOPIC
        + "=" + MafiaBossConstants.TOPIC_ENCASH)
public class Mario implements EventHandler {

    @Override
    public void handleEvent(Event event) {
        System.out.println("Mario: "
        + event.getProperty(MafiaBossConstants.PROPERTY_KEY_TARGET)