return null;
}
if (eventType instanceof BeanEventType)
{
BeanEventType beanEventType = (BeanEventType) eventType;
return new EventBeanManufacturerBean(beanEventType, eventAdapterService, properties, engineImportService);
}
EventTypeSPI typeSPI = (EventTypeSPI) eventType;
if (!allowAnyType && (!typeSPI.getMetadata().isApplicationConfigured() && typeSPI.getMetadata().getTypeClass() != EventTypeMetadata.TypeClass.ANONYMOUS))
{
return null;