class EventBus {

    public void publish(final JVoiceXMLEvent event) {
        final String type = event.getEventType();
        synchronized (subscriptions) {
            for (EventSubscription subscription : subscriptions) {
                if (subscription.matches(type)) {
                    subscription.publish(event);
                }
            }
        }
    }

    public  EventBus();

}