public void fireBeforePackageAdded(final InternalKnowledgePackage newPkg) {
final Iterator<KieBaseEventListener> iter = getEventListenersIterator();
if (iter.hasNext()) {
BeforeKiePackageAddedEvent event = new BeforeKiePackageAddedEventImpl(this.kBase, newPkg);
do {
iter.next().beforeKiePackageAdded(event);
} while (iter.hasNext());
}