in rcomp-eventadmin/src/main/java/org/apache/karaf/rcomp/eventadmin/EventAdminDestination.java [33:40]
public EventAdminDestination(EventAdmin client, String topic, Class<T> type) {
this.client = client;
this.topic = topic;
if (!(type == Map.class || type==Event.class)) {
throw new IllegalArgumentException("Curently only Map<String, ?> and Event are supported");
}
this.type = type;
}