Package org.jboss.seam.jms.annotations

Examples of org.jboss.seam.jms.annotations.JmsDestination.jndiName()


  
    @Produces
    @JmsDestination
    public Topic getTopic(InjectionPoint ip, @Module Context c) throws NamingException {
    JmsDestination d = AnnotationInspector.getAnnotation(ip.getAnnotated(), JmsDestination.class, beanManager);
        return (Topic) c.lookup(d.jndiName());
    }

    @Produces
    @JmsDestination
    public Queue getQueue(InjectionPoint ip, @Module Context c) throws NamingException {
View Full Code Here


    @Produces
    @JmsDestination
    public Queue getQueue(InjectionPoint ip, @Module Context c) throws NamingException {
    JmsDestination d = AnnotationInspector.getAnnotation(ip.getAnnotated(), JmsDestination.class, beanManager);
        return (Queue) c.lookup(d.jndiName());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.