class EventSubscription {

    public boolean matches(final String eventType) {
        return eventType.startsWith(type);
    }

    public  EventSubscription(final String eventType,
            final EventSubscriber eventSubscriber);

}