EventConsumer proxy = new HawkEventProxy(eventBroker, "tenant.created");
eventBroker.subscribe("hibernate.postInsert." + tenantClassPropertyName, proxy);
}
private void registerForPostDeleteEvents(String tenantClassPropertyName) {
EventConsumer proxy = new HawkEventProxy(eventBroker, "tenant.deleted");
eventBroker.subscribe("hibernate.postDelete." + tenantClassPropertyName, proxy);
}