Bug 362900: JPA-RS Incubator
- fixed headers and comments
diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceContext.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceContext.java
index fc38568..118dd09 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceContext.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceContext.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - 

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs;

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java
index f11fb0d..5a302ad 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/PersistenceFactory.java
@@ -99,7 +99,7 @@
             }

         }

         if (!properties.containsKey(PersistenceUnitProperties.JDBC_DRIVER)) {

-            properties.put(PersistenceUnitProperties.NON_JTA_DATASOURCE, "jdbc/avatar");

+            properties.put(PersistenceUnitProperties.NON_JTA_DATASOURCE, "jdbc/jpa-rs");

         }

         return properties;

     }

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/Service.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/Service.java
index db9ef1b..6e49f33 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/Service.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/Service.java
@@ -8,7 +8,7 @@
  * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		dclarke - 

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs;

 

@@ -56,11 +56,10 @@
 import com.sun.jersey.core.spi.factory.ResponseBuilderImpl;

 

 /**

- * JAX-RS application interface for avatar POC clients. All /app requests are

- * handled here.

+ * JAX-RS application interface JPA-RS

  * 

- * @author douglas.clarke

- * @since Avatar POC - September 2011

+ * @author dclarke

+ * @since EclipseLink 2.4.0

  */

 @Singleton

 @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSChangeNotificationListener.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSChangeNotificationListener.java
index f927b7b..da645ba 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSChangeNotificationListener.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSChangeNotificationListener.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - tware

+ * 		tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.qcn;

 

@@ -42,8 +47,8 @@
 /**

  * TODO

  * 

- * @author tom.ware

- * @since Avatar POC - September 2011

+ * @author tware

+ * @since EclipseLink 2.4.0

  */

 public class JPARSChangeNotificationListener extends  org.eclipse.persistence.platform.database.oracle.dcn.OracleChangeNotificationListener {

     

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSDatabaseChangeListener.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSDatabaseChangeListener.java
index 8bb1106..5b0d6f1 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSDatabaseChangeListener.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/qcn/JPARSDatabaseChangeListener.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - tware: original version

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.qcn;

 

@@ -32,8 +37,8 @@
 /**

  * TODO

  * 

- * @author tom.ware

- * @since Avatar POC - September 2011

+ * @author tware

+ * @since EclipseLink 2.4.0

  */

 public class JPARSDatabaseChangeListener implements DatabaseChangeListener {

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/ChangeListener.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/ChangeListener.java
index 26267f9..f2827a0 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/ChangeListener.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/ChangeListener.java
@@ -1,3 +1,15 @@
+/*******************************************************************************

+ * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

+ *

+ * Contributors:

+ *      dclarke/tware - initial 

+ ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

 public interface ChangeListener {

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/DynamicXMLMetadataSource.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/DynamicXMLMetadataSource.java
index ba0f543..677592f 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/DynamicXMLMetadataSource.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/DynamicXMLMetadataSource.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - 

+ *      dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

@@ -29,8 +34,8 @@
  * {@link MetadataSource} used in the creation of dynamic JAXB contexts for applications.

  * 

  * @see PersistenceFactory#createJAXBContext(Server)

- * @author douglas.clarke

- * @since Avatar POC - September 2011

+ * @author dclarke

+ * @since EclipseLink 2.4.0

  */

 public class DynamicXMLMetadataSource implements MetadataSource {

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/IdHelper.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/IdHelper.java
index 284f1ef..267172a 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/IdHelper.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/IdHelper.java
@@ -8,7 +8,7 @@
  * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		dclarke - 

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

@@ -32,8 +32,8 @@
  * JAX-RS calls as query or matrix parameters into a value that can be used in a

  * find.

  * 

- * @author douglas.clarke

- * @since Avatar POC - October 2011

+ * @author dclarke

+ * @since EclipseLink 2.4.0

  */

 public class IdHelper {

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/InMemoryArchive.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/InMemoryArchive.java
index 46253ff..5c900de 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/InMemoryArchive.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/InMemoryArchive.java
@@ -1,3 +1,15 @@
+/*******************************************************************************

+ * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

+ *

+ * Contributors:

+ *      dclarke/tware - initial 

+ ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

 import java.io.IOException;

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/StreamingOutputMarshaller.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/StreamingOutputMarshaller.java
index dcd5cf4..a603d8c 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/StreamingOutputMarshaller.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/StreamingOutputMarshaller.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - 

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

@@ -30,8 +35,8 @@
  * {@link JAXBContext} to marshal the result when requested to either XML or

  * JSON based on the accept media provided.

  * 

- * @author douglas.clarke

- * @since Avatar POC - September 2011

+ * @author dclarke

+ * @since EclipseLink 2.4.0

  */

 public class StreamingOutputMarshaller implements StreamingOutput {

     private JAXBContext jaxbContext;

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/XMLDatabaseMetadataSource.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/XMLDatabaseMetadataSource.java
index e810986..57022db 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/XMLDatabaseMetadataSource.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/util/XMLDatabaseMetadataSource.java
@@ -8,7 +8,7 @@
  * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		dclarke - TODO

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.util;

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/ApplicationListener.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/ApplicationListener.java
index 57f6679..8301b2d 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/ApplicationListener.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/ApplicationListener.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - shaun.smith

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.websockets;

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocket.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocket.java
index 3dbe412..f92b53d 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocket.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocket.java
@@ -1,44 +1,15 @@
-/*

- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

+/*******************************************************************************

+ * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

- * Copyright (c) 2011 Oracle and/or its affiliates. All rights reserved.

- *

- * The contents of this file are subject to the terms of either the GNU

- * General Public License Version 2 only ("GPL") or the Common Development

- * and Distribution License("CDDL") (collectively, the "License").  You

- * may not use this file except in compliance with the License.  You can

- * obtain a copy of the License at

- * https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html

- * or packager/legal/LICENSE.txt.  See the License for the specific

- * language governing permissions and limitations under the License.

- *

- * When distributing the software, include this License Header Notice in each

- * file and include the License file at packager/legal/LICENSE.txt.

- *

- * GPL Classpath Exception:

- * Oracle designates this particular file as subject to the "Classpath"

- * exception as provided by Oracle in the GPL Version 2 section of the License

- * file that accompanied this code.

- *

- * Modifications:

- * If applicable, add the following below the License Header, with the fields

- * enclosed by brackets [] replaced by your own identifying information:

- * "Portions Copyright [year] [name of copyright owner]"

- *

- * Contributor(s): ssmith

- * 

- * If you wish your version of this file to be governed by only the CDDL or

- * only the GPL Version 2, indicate your decision by adding "[Contributor]

- * elects to include this software in this distribution under the [CDDL or GPL

- * Version 2] license."  If you don't indicate a single choice of license, a

- * recipient has the option to distribute your version of this file under

- * either the CDDL, the GPL Version 2 or to extend the choice of license to

- * its licensees as provided above.  However, if you add GPL Version 2 code

- * and therefore, elected the GPL Version 2 license, then the option applies

- * only if the new code is made subject to such option by the copyright

- * holder.

- */

-

+ * Contributors:

+ *      ssmith - initial 

+ ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.websockets;

 

 import static org.eclipse.persistence.jaxb.JAXBContext.MEDIA_TYPE;

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocketApplication.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocketApplication.java
index 15658b8..14e1d2c 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocketApplication.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/JPARSWebSocketApplication.java
@@ -1,44 +1,15 @@
-/*

- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

+/*******************************************************************************

+ * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

- * Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.

- *

- * The contents of this file are subject to the terms of either the GNU

- * General Public License Version 2 only ("GPL") or the Common Development

- * and Distribution License("CDDL") (collectively, the "License").  You

- * may not use this file except in compliance with the License.  You can

- * obtain a copy of the License at

- * https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html

- * or packager/legal/LICENSE.txt.  See the License for the specific

- * language governing permissions and limitations under the License.

- *

- * When distributing the software, include this License Header Notice in each

- * file and include the License file at packager/legal/LICENSE.txt.

- *

- * GPL Classpath Exception:

- * Oracle designates this particular file as subject to the "Classpath"

- * exception as provided by Oracle in the GPL Version 2 section of the License

- * file that accompanied this code.

- *

- * Modifications:

- * If applicable, add the following below the License Header, with the fields

- * enclosed by brackets [] replaced by your own identifying information:

- * "Portions Copyright [year] [name of copyright owner]"

- *

- * Contributor(s): ssmith

- * 

- * If you wish your version of this file to be governed by only the CDDL or

- * only the GPL Version 2, indicate your decision by adding "[Contributor]

- * elects to include this software in this distribution under the [CDDL or GPL

- * Version 2] license."  If you don't indicate a single choice of license, a

- * recipient has the option to distribute your version of this file under

- * either the CDDL, the GPL Version 2 or to extend the choice of license to

- * its licensees as provided above.  However, if you add GPL Version 2 code

- * and therefore, elected the GPL Version 2 license, then the option applies

- * only if the new code is made subject to such option by the copyright

- * holder.

- */

-

+ * Contributors:

+ *      ssmith - initial 

+ ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.websockets;

 

 import static org.eclipse.persistence.jaxb.JAXBContext.MEDIA_TYPE;

@@ -74,13 +45,13 @@
 @Singleton

 @Startup

 public class JPARSWebSocketApplication extends WebSocketApplication {

-	static final Logger logger = Logger.getLogger("AvatarWebSocketApplication");

+	static final Logger logger = Logger.getLogger("JPARSWebSocketApplication");

 	protected JAXBContext jaxbContext;	

 	protected PersistenceFactory factory;

 	protected Map<PersistenceContext, ApplicationListener> applicationToListener = new ConcurrentHashMap<PersistenceContext, ApplicationListener>();

 

 	public JPARSWebSocketApplication() {

-    	logger.info("AvatarWebSocketApplication created: " + this);

+    	logger.info("JPARSWebSocketApplication created: " + this);

 //    	initialize();

 		try {

 			jaxbContext = JAXBContext.newInstance(Registration.class);

@@ -125,17 +96,17 @@
     @Override

     public void onMessage(WebSocket socket, String text) {

     	logger.info(socket + " message received: " + text);

-		JPARSWebSocket avatarSocket = (JPARSWebSocket) socket;

+		JPARSWebSocket jparsSocket = (JPARSWebSocket) socket;

 		try {

 			Registration message = unmarshallMessage(text);

-			avatarSocket.setRegistration(message);

+			jparsSocket.setRegistration(message);

 			PersistenceContext application = this.factory.getPersistenceContext(message.getAppName());

-			avatarSocket.setApplication(application);

+			jparsSocket.setApplication(application);

 		} catch (Exception e) {			

 			// TODO Auto-generated catch block

 			e.printStackTrace();

-	        logger.info(avatarSocket + " exception processing message, closing socket");

-			closeSocket(avatarSocket);

+	        logger.info(jparsSocket + " exception processing message, closing socket");

+			closeSocket(jparsSocket);

 		}

     }

 

diff --git a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/Registration.java b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/Registration.java
index bc20260..83a5509 100644
--- a/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/Registration.java
+++ b/JPA-RS Incubator/JPA-RS/src/org/eclipse/persistence/jpa/rs/websockets/Registration.java
@@ -1,9 +1,14 @@
-/******************************************************************************

- * ORACLE CONFIDENTIAL

+/*******************************************************************************

  * Copyright (c) 2011 Oracle. All rights reserved.

+ * This program and the accompanying materials are made available under the 

+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 

+ * which accompanies this distribution. 

+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html

+ * and the Eclipse Distribution License is available at 

+ * http://www.eclipse.org/org/documents/edl-v10.php.

  *

  * Contributors:

- * 		 - shaun.smith

+ * 		dclarke/tware - initial 

  ******************************************************************************/

 package org.eclipse.persistence.jpa.rs.websockets;