0 Replies Latest reply on Aug 13, 2008 6:26 PM by croft

    Does dependency injection work in portlets?

    croft

      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;