0 Replies Latest reply on Aug 13, 2008 6:26 PM by David Wallace Croft

    Does dependency injection work in portlets?

    David Wallace Croft Newbie

      Does dependency injection work in JBoss Portal portlets?

      I am trying to do something like this:

       public final class MyPortlet
       extends GenericPortlet
       {
      
       @Resource ( name = "jms/ConnectionFactory" )
       private ConnectionFactory connectionFactory;
      
       @Resource ( name = "jms/Destination" )
       private Destination destination;