public EJSHome getStartedHome ( J2EEName beanName ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "getStartedHome : " + beanName ) ; HomeRecord hr = homeOfHomes . getHomeRecord ( beanName ) ; //LIDB859-4 EJSHome hi = hr . getHomeAndInitialize ( ) ; //d199071 if ( hi == null ) { // This method should only be called when it is known that the bean // has been started. Doing nothing would result in an NPE, so report // a meaningful exception instead. d547849 String msgTxt = "The " + beanName . getComponent ( ) + " bean in the " + beanName . getModule ( ) + " module of the " + beanName . getApplication ( ) + " application has been stopped and may no longer be used." + " Wait for the bean to be started, and then try again." ; throw new EJBStoppedException ( msgTxt ) ; } return hi ; }
Gets a home by name .