{
// JBAS-8406: Temp hack, will move to NamingListener
CurrentComponent.push(component);
// Start it
CDIExceptionStore.reset();
context.start();
// Build the ENC
// JBAS-8278: abort deployment if there are CDI definitions errors
if (CDIExceptionStore.currentExceptions().size()>0)
{
throw CDIExceptionStore.currentExceptions().get(0);