@ Override public EJBLocalHome getEJBLocalHome ( ) //d116376 { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "getEJBLocalHome" ) ; Tr . error ( tc , "METHOD_NOT_ALLOWED_CNTR0047E" , "MessageDrivenBeanO.getEJBLocalHome()" ) ; throw new IllegalStateException ( "Method Not Allowed Exception: See Message-drive Bean Component Contract section of the applicable EJB Specification." ) ; }
getEJBLocalHome - It is illegal to call this method message - driven bean methods because there is no EJBLocalHome object for message - driven beans .