public List getList ( String key , List def ) { try { Object bean = getBean ( key , def ) ; return ( List ) bean ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
Get an arrayList . This returns a copy of the stored list .