listener.setListenerType((ListenerType) type);
listener.setBaseClassName(type.getBeanClass().getName());
listener.setExtClassName(type.getInstanceClassName());
javaClass.addComponent(listener);
}
else if (componentGenerator instanceof EmbeddableComponent) {
EmbeddableComponent embeddable
= (EmbeddableComponent) componentGenerator;