You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/02/19 23:34:12 UTC
svn commit: r805410 - in /websites/staging/openejb/trunk: ./
content/examples-trunk/bean-validation-design-by-contract/
content/examples-trunk/component-interfaces/
content/examples-trunk/datasource-ciphered-password/
content/examples-trunk/dynamic-dao...
Author: buildbot
Date: Sun Feb 19 22:34:12 2012
New Revision: 805410
Log:
Staging update by buildbot for openejb
Modified:
websites/staging/openejb/trunk/ (props changed)
websites/staging/openejb/trunk/content/examples-trunk/bean-validation-design-by-contract/README.html
websites/staging/openejb/trunk/content/examples-trunk/component-interfaces/README.html
websites/staging/openejb/trunk/content/examples-trunk/datasource-ciphered-password/README.html
websites/staging/openejb/trunk/content/examples-trunk/dynamic-dao-implementation/README.html
websites/staging/openejb/trunk/content/examples-trunk/dynamic-datasource-routing/README.html
websites/staging/openejb/trunk/content/examples-trunk/dynamic-implementation/README.html
websites/staging/openejb/trunk/content/examples-trunk/mbean-auto-registration/README.html
websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/README.html
websites/staging/openejb/trunk/content/examples-trunk/webapps/resources-declared-in-webapp/README.html
websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example-with-application/README.html
websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/README.html
Propchange: websites/staging/openejb/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Feb 19 22:34:12 2012
@@ -1 +1 @@
-1291077
+1291079
Modified: websites/staging/openejb/trunk/content/examples-trunk/bean-validation-design-by-contract/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/bean-validation-design-by-contract/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/bean-validation-design-by-contract/README.html Sun Feb 19 22:34:12 2012
@@ -200,9 +200,6 @@ import javax.validation.constraints.NotN
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class OlympicGamesManager {
public String addSportMan(@Pattern(regexp = "^[A-Za-z]+$") String name, @Size(min = 2, max = 4) String country) {
@@ -221,9 +218,6 @@ public class OlympicGamesManager {
import javax.ejb.Local;
import javax.validation.constraints.Min;
-/**
- * @author Romain Manni-Bucau
- */
@Local
public interface PoleVaultingManager {
int points(@Min(120) int centimeters);
@@ -236,9 +230,6 @@ public interface PoleVaultingManager {
import javax.ejb.Stateless;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class PoleVaultingManagerBean implements PoleVaultingManager {
@Override
Modified: websites/staging/openejb/trunk/content/examples-trunk/component-interfaces/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/component-interfaces/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/component-interfaces/README.html Sun Feb 19 22:34:12 2012
@@ -165,7 +165,6 @@ import java.util.Properties;
* This is an EJB 3 style pojo stateful session bean
* it does not need to implement javax.ejb.SessionBean
*
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
*/
//START SNIPPET: code
@@ -393,7 +392,6 @@ import javax.naming.Context;
import java.util.Locale;
/**
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
* @version $Rev: 1090810 $ $Date: 2011-04-10 07:49:26 -0700 (Sun, 10 Apr 2011) $
*/
public class FriendlyPersonTest extends TestCase {
Modified: websites/staging/openejb/trunk/content/examples-trunk/datasource-ciphered-password/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/datasource-ciphered-password/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/datasource-ciphered-password/README.html Sun Feb 19 22:34:12 2012
@@ -224,9 +224,6 @@ import java.util.Properties;
import static junit.framework.Assert.assertNotNull;
-/**
- * @author Romain Manni-Bucau
- */
public class DataSourceCipheredExampleTest {
private static final String USER = DataSourceCipheredExampleTest.class.getSimpleName().toUpperCase();
private static final String PASSWORD = "YouLLN3v3rFindM3";
Modified: websites/staging/openejb/trunk/content/examples-trunk/dynamic-dao-implementation/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/dynamic-dao-implementation/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/dynamic-dao-implementation/README.html Sun Feb 19 22:34:12 2012
@@ -175,9 +175,6 @@ import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
-/**
- * @author rmannibucau
- */
@Entity
@NamedQueries({
@NamedQuery(name = "dynamic-ejb-impl-test.query", query = "SELECT u FROM User AS u WHERE u.name LIKE :name"),
@@ -220,9 +217,6 @@ public class User {
<pre><code>package org.superbiz.dynamic;
-/**
- * @author rmannibucau
- */
import javax.ejb.Stateless;
import javax.persistence.PersistenceContext;
@@ -302,9 +296,6 @@ import static junit.framework.Assert.ass
import static junit.framework.Assert.assertNotNull;
import static junit.framework.Assert.assertTrue;
-/**
- * @author rmannibucau
- */
public class DynamicUserDaoTest {
private static UserDao dao;
private static Util util;
Modified: websites/staging/openejb/trunk/content/examples-trunk/dynamic-datasource-routing/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/dynamic-datasource-routing/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/dynamic-datasource-routing/README.html Sun Feb 19 22:34:12 2012
@@ -190,9 +190,6 @@ import javax.sql.DataSource;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
-/**
- * @author Romain Manni-Bucau
- */
public class DeterminedRouter extends AbstractRouter {
private String dataSourceNames;
private String defaultDataSourceName;
@@ -310,9 +307,6 @@ import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class RoutedPersister {
@PersistenceContext(unitName = "router")
Modified: websites/staging/openejb/trunk/content/examples-trunk/dynamic-implementation/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/dynamic-implementation/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/dynamic-implementation/README.html Sun Feb 19 22:34:12 2012
@@ -154,9 +154,6 @@ import org.apache.openejb.api.Proxy;
import javax.ejb.Singleton;
import javax.interceptor.Interceptors;
-/**
- * @author rmannibucau
- */
@Singleton
@Proxy(SocialHandler.class)
@Interceptors(SocialInterceptor.class)
@@ -176,9 +173,6 @@ public interface SocialBean {
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
-/**
- * @author rmannibucau
- */
public class SocialHandler implements InvocationHandler {
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
@@ -211,9 +205,6 @@ import javax.ejb.embeddable.EJBContainer
import static junit.framework.Assert.assertTrue;
-/**
- * @author rmannibucau
- */
public class SocialTest {
private static SocialBean social;
private static EJBContainer container;
Modified: websites/staging/openejb/trunk/content/examples-trunk/mbean-auto-registration/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/mbean-auto-registration/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/mbean-auto-registration/README.html Sun Feb 19 22:34:12 2012
@@ -170,9 +170,6 @@ import javax.management.MBean;
import javax.management.ManagedAttribute;
import javax.management.ManagedOperation;
-/**
- * @author Romain Manni-Bucau
- */
@MBean
@Description("play with me to guess a number")
public class GuessHowManyMBean {
@@ -225,9 +222,6 @@ import java.util.Properties;
import static junit.framework.Assert.assertEquals;
-/**
- * @author Romain Manni-Bucau
- */
public class GuessHowManyMBeanTest {
private static final String OBJECT_NAME = "openejb.user.mbeans:group=org.superbiz.mbean,application=mbean-auto-registration,name=GuessHowManyMBean";
Modified: websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/README.html Sun Feb 19 22:34:12 2012
@@ -156,9 +156,6 @@ import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.xml.bind.annotation.XmlRootElement;
-/**
- * @author Romain Manni-Bucau
- */
@Entity
@NamedQueries({
@NamedQuery(name = "user.list", query = "select u from User u")
@@ -191,7 +188,6 @@ import java.util.List;
/**
* Outputs are copied because of the enhancement of OpenJPA.
*
- * @author Romain Manni-Bucau
*/
@Singleton
@Lock(LockType.WRITE)
@@ -309,9 +305,6 @@ import static junit.framework.Assert.ass
import static junit.framework.Assert.assertNull;
import static junit.framework.Assert.fail;
-/**
- * @author Romain Manni-Bucau
- */
public class UserServiceTest {
private static Context context;
private static UserService service;
Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/resources-declared-in-webapp/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/resources-declared-in-webapp/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/resources-declared-in-webapp/README.html Sun Feb 19 22:34:12 2012
@@ -154,9 +154,6 @@ import org.superbiz.resource.ManagerReso
import javax.annotation.Resource;
import javax.ejb.Singleton;
-/**
- * @author rmannibucau
- */
@Singleton
public class Manager {
@Resource(name = "My Manager Team", type = ManagerResource.class)
@@ -172,9 +169,6 @@ public class Manager {
<pre><code>package org.superbiz.resource;
-/**
- * @author rmannibucau
- */
public class ManagerResource {
public String resourceType() {
return "team";
@@ -196,9 +190,6 @@ import javax.servlet.http.HttpServletReq
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
-/**
- * @author rmannibucau
- */
@WebServlet(name = "manager servlet", urlPatterns = "/")
public class ManagerServlet extends HttpServlet {
@EJB
Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example-with-application/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example-with-application/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example-with-application/README.html Sun Feb 19 22:34:12 2012
@@ -153,9 +153,6 @@ import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
-/**
- * @author rmannibucau
- */
@ApplicationPath("/rest-prefix")
public class ApplicationConfig extends Application {
public Set<Class<?>> getClasses() {
@@ -173,9 +170,6 @@ import javax.ws.rs.GET;
import javax.ws.rs.Path;
import java.util.Date;
-/**
- * @author rmannibucau
- */
@Singleton
@Lock(LockType.READ)
@Path("/ejb")
@@ -193,9 +187,6 @@ public class SimpleRESTEJB {
import javax.ws.rs.Path;
import java.util.Date;
-/**
- * @author rmannibucau
- */
@Path("/pojo")
public class SimpleRESTPojo {
@GET
Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/README.html Sun Feb 19 22:34:12 2012
@@ -157,9 +157,6 @@ import javax.ejb.Stateless;
import java.util.Collections;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class CommentDAO extends DAO {
@EJB
@@ -218,7 +215,6 @@ import java.util.List;
* Simply maps the entitymanager.
* It simplifies refactoring (unitName change) and wraps some logic (limited queries).
*
- * @author Romain Manni-Bucau
*/
@Stateless
public class DAO {
@@ -273,9 +269,6 @@ import javax.ejb.EJB;
import javax.ejb.Stateless;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class PostDAO {
@EJB
@@ -331,9 +324,6 @@ import javax.ejb.EJB;
import javax.ejb.Stateless;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Stateless
public class UserDAO {
@EJB
@@ -389,9 +379,6 @@ import javax.validation.constraints.Size
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
-/**
- * @author Romain Manni-Bucau
- */
@Entity
@NamedQueries({
@NamedQuery(name = "comment.list", query = "select c from Comment c")
@@ -406,9 +393,6 @@ import javax.persistence.MappedSuperclas
import javax.persistence.PrePersist;
import java.util.Date;
-/**
- * @author Romain Manni-Bucau
- */
@MappedSuperclass
public abstract class DatedModel extends Model {
private Date created;
@@ -440,9 +424,6 @@ import javax.persistence.MappedSuperclas
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-/**
- * @author Romain Manni-Bucau
- */
@MappedSuperclass
@Access(AccessType.FIELD)
@XmlAccessorType(XmlAccessType.FIELD)
@@ -480,9 +461,6 @@ import javax.xml.bind.annotation.XmlRoot
import java.util.ArrayList;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Entity
@NamedQueries({
@NamedQuery(name = "post.list", query = "select p from Post p")
@@ -501,9 +479,6 @@ import javax.validation.constraints.Patt
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
-/**
- * @author Romain Manni-Bucau
- */
@Entity
@NamedQueries({
@NamedQuery(name = "user.list", query = "select u from User u")
@@ -528,9 +503,6 @@ import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Path("/api/comment")
@Produces({"text/xml", "application/json"})
public class CommentService {
@@ -586,9 +558,6 @@ import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Path("/api/post")
@Produces({"text/xml", "application/json"})
public class PostService {
@@ -652,9 +621,6 @@ import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import java.util.List;
-/**
- * @author Romain Manni-Bucau
- */
@Path("/api/user")
@Produces({"text/xml", "application/json"})
public class UserService {