public void initialize ( BeanContext context , Resource resource ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "initialize (" + context + ", " + resource + ")" ) ; } this . context = context ; this . resource = ResourceHandle . use ( resource ) ; }
This basic initialization sets up the context and resource attributes only all the other attributes are set lazy during their getter calls .