[seam-commits] Seam SVN: r15582 - branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/jms.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Aug 6 07:45:23 EDT 2013


Author: manaRH
Date: 2013-08-06 07:45:22 -0400 (Tue, 06 Aug 2013)
New Revision: 15582

Modified:
   branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/jms/TopicSession.java
Log:
JBPAPP-10339 added dependency to org.jboss.seam.jms.topicConnection for TopicSession

Modified: branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/jms/TopicSession.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/jms/TopicSession.java	2013-07-31 05:50:15 UTC (rev 15581)
+++ branches/enterprise/JBPAPP_5_0/src/main/org/jboss/seam/jms/TopicSession.java	2013-08-06 11:45:22 UTC (rev 15582)
@@ -18,41 +18,41 @@
 
 /**
  * Manager for a JMS TopicSession
- * 
+ *
  * @author Gavin King
  *
  */
 @Scope(ScopeType.EVENT)
 @BypassInterceptors
 @Name("org.jboss.seam.jms.topicSession")
- at Install(precedence=BUILT_IN, genericDependencies=ManagedTopicPublisher.class)
+ at Install(precedence = BUILT_IN, genericDependencies = ManagedTopicPublisher.class, dependencies = "org.jboss.seam.jms.topicConnection")
 public class TopicSession
 {
-   
+
    private javax.jms.TopicSession topicSession;
-   
+
    @Create
    public void create() throws JMSException, NamingException
    {
       //TODO: i really want a transactional session!
       topicSession = TopicConnection.instance().createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    }
-   
+
    @Destroy
    public void destroy() throws JMSException
    {
       topicSession.close();
    }
-   
+
    @Unwrap
    public javax.jms.TopicSession getTopicSession()
    {
       return topicSession;
    }
-   
+
    public static javax.jms.TopicSession instance()
    {
       return (javax.jms.TopicSession) Component.getInstance(TopicSession.class);
    }
-   
+
 }



More information about the seam-commits mailing list