definition.setLazy(component.lazyInit());
String initMethodName = component.initMethodName();
if (!"".equals(initMethodName)) {
definition.setInitMethodName(initMethodName);
}
String disposeMethodName = component.disposeMethodName();
if (!"".equals(disposeMethodName)) {
definition.setDisposeMethodName(disposeMethodName);
}
componentProcessor.process(logger, definition, typeOracle);