EJB Errors and Warnings  

 


The
 EJB Errors and Warnings inspection  points out code that is inconsistent with the EJB Specification. Such errors/warnings will be highlighted in the editor as well. 


EJB Errors and Warnings °Ë»ç´Â EJB »ç¾ç°ú ÀÏÄ¡ÇÏÁö ¾ÊÀº Äڵ带 ÁöÀûÇÕ´Ï´Ù. ±×·± ¿À·ù/°æ°í´Â ¿¡µðÅÍ¿¡¼­µµ ¶ÇÇÑ °­Á¶µÉ °ÍÀÔ´Ï´Ù.

 EJB errors and warnings °Ë»ç´Â ´ÙÀ½ÀÇ ¿É¼ÇÀ» °¡Áý´Ï´Ù.

 

Report errors  


¸¸ÀÏ ÀÌ Ã¼Å© ¹Ú½º°¡ ¼±ÅÃµÇ¸é °Ë»ç´Â EJB-relatedµÈ ¿À·ù¸¦ ãÀ» °ÍÀÔ´Ï´Ù.

Report warnings  


¸¸ÀÏ ÀÌ Ã¼Å© ¹Ú½º°¡ ¼±ÅÃµÇ¸é °Ë»ç´Â EJB-relatedµÈ °æ°í¸¦ ãÀ» °ÍÀÔ´Ï´Ù.


¸¸ÀÏ EJB errors and warnings  Ã¼Å© ¹Ú½º°¡ ¼±Åõǰí Inspection ÀÌ ¾î¶² ¹®Á¦¸¦ ã´Â´Ù¸é Inspection Åø À©µµ¿ì´ÂEJB »ç¾çÀÌ À§¹Ý µÇ¾ú´ø EJB ¿ä¼Ò¸¦ Æ÷ÇÔÇÏ´Â EJB errors & warnings  ÅÇÀ» Ç¥½ÃÇÕ´Ï´Ù.

°Ë»ç¿¡ ÀÇÇØ ¹ß°ßµÈ ¹®Á¦¸¦ À§ÇÑ ¾î¶² »çÀü Á¤ÀÇÀÇ ¼Ö·ç¼Çµµ ÀÖÁö ¾Ê½À´Ï´Ù.


J2EE Áö¿ø ÀÌ »ç¿ë °¡´ÉÇÏ°Ô ÇÏ°Ô µÇ´Â °æ¿ì¿¡¸¸ ÀÌ °Ë»ç´Â ³ªÅ¸³³´Ï´Ù.


 

»ç¿ë ¿¹


´ÙÀ½ ÀÎÅÍÆäÀ̽º¸¦ º¸½Ê½Ã¿À:

 
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;
 
public interface LocalEntityNewHome extends EJBLocalHome {
    void findByPrimaryKey(String key) throws FinderException;
}
 

InspectionÀº LocalEntityNewHome ¿¡ Àû¿ëµÇ°í ³­ ÈÄ¿¡, ´ÙÀ½ Åø À©µµ¿ì°¡ ³ªÅ¸³¯ °ÍÀÔ´Ï´Ù.


InspectionÀº ¼±¾ðµÈ ¸Þ¼Òµå°¡ Ʋ¸° ¹Ýȯ ÇüŸ¦ °¡Áø´Ù ¶ó°í ÁöÀûÇÕ´Ï´Ù.