geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viol...@apache.org
Subject svn commit: r1166081 - /geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java
Date Wed, 07 Sep 2011 09:28:21 GMT
Author: violalu
Date: Wed Sep  7 09:28:20 2011
New Revision: 1166081

URL: http://svn.apache.org/viewvc?rev=1166081&view=rev
Log:
Add @Local to EJB local interface

Modified:
    geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java

Modified: geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java?rev=1166081&r1=1166080&r2=1166081&view=diff
==============================================================================
--- geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java
(original)
+++ geronimo/samples/trunk/samples/javaee5/calculator/calculator-ejb/src/main/java/org/apache/geronimo/samples/slsb/calculator/CalculatorLocal.java
Wed Sep  7 09:28:20 2011
@@ -16,12 +16,14 @@
  */
 package org.apache.geronimo.samples.slsb.calculator;
 
+import javax.ejb.Local;
 /**
  * This is an EJB 3 local business interface
  * A local business interface may be annotated with the @Local
  * annotation, but it's optional. A business interface which is
  * not annotated with @Local or @Remote is assumed to be Local
  */
+@Local
 public interface CalculatorLocal {
 
     public int sum(int add1, int add2);



Mime
View raw message