public EJSHome create ( BeanMetaData beanMetaData ) throws RemoteException { J2EEName name = beanMetaData . j2eeName ; HomeRecord hr = beanMetaData . homeRecord ; StatelessBeanO homeBeanO = null ; EJSHome result = null ; try { result = ( EJSHome ) beanMetaData . homeBeanClass . newInstance ( ) ; homeBeanO = ( StatelessBeanO ) beanOFactory . create ( container , null , false ) ; homeBeanO . setEnterpriseBean ( result ) ; } catch ( Exception ex ) { FFDCFilter . processException ( ex , CLASS_NAME + ".create" , "90" , this ) ; throw new InvalidEJBClassNameException ( "" , ex ) ; } homeBeanO . reentrant = true ; hr . beanO = homeBeanO ; //LIDB859-4 if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "created new home bean" , name ) ; return result ; }
Create a new EJSHome instance .