private EJSHome fireMetaDataCreatedAndStartBean ( BeanMetaData bmd ) // d648522 throws ContainerException { if ( ! bmd . isManagedBean ( ) ) // F743-34301.1 { try { // Fire the ComponentMetaData event to the listeners // (ie. we have loaded a new bean folks... ) if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "startBean: Fire Component Metadata created event to listeners for: " + bmd . j2eeName ) ; bmd . ivMetaDataDestroyRequired = true ; //d505055 fireMetaDataCreated ( bmd ) ; } catch ( Throwable t ) //197547 { FFDCFilter . processException ( t , CLASS_NAME + "startBean" , "445" , this ) ; throw new ContainerException ( "Failed to start " + bmd . j2eeName , t ) ; } } return startBean ( bmd ) ; // d739043 }
Starts the bean by creating a home instance via the container . When this method completes successfully bmd . homeRecord . homeInternal will be set to indicate that this home is started ; this method must not be called if this field is already set . The context class loader must be the bean class loader when calling this method .