org.jboss.seam.jms.impl.inject
Class SessionProducer

java.lang.Object
  extended by org.jboss.seam.jms.impl.inject.SessionProducer

public class SessionProducer
extends Object


Constructor Summary
SessionProducer()
           
 
Method Summary
 void closeSession(javax.jms.Session s)
           
 javax.jms.Session getSession(javax.jms.Connection c, javax.enterprise.inject.spi.InjectionPoint ip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionProducer

public SessionProducer()
Method Detail

getSession

@Produces
@Dependent
public javax.jms.Session getSession(javax.jms.Connection c,
                                                       javax.enterprise.inject.spi.InjectionPoint ip)
                             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

closeSession

public void closeSession(@Disposes@Any
                         javax.jms.Session s)
                  throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Copyright © 2011 Seam Framework. All Rights Reserved.