KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > tutorial > consumer > bean > ExampleProducer


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.tutorial.consumer.bean;
8
9 import org.jboss.annotation.ejb.MessageProperties;
10 import org.jboss.annotation.ejb.DeliveryMode;
11 import org.jboss.annotation.ejb.DeliveryMode;
12 import org.jboss.annotation.ejb.MessageProperties;
13
14 import java.util.Map JavaDoc;
15
16 /**
17  * comment
18  *
19  * @author <a HREF="mailto:bill@jboss.org">Bill Burke</a>
20  */

21 public interface ExampleProducer
22 {
23    void method1(String JavaDoc msg, int val);
24
25    @MessageProperties(delivery=DeliveryMode.NON_PERSISTENT)
26    void method2(String JavaDoc msg, Map JavaDoc<String JavaDoc, String JavaDoc> map);
27 }
28
Popular Tags