You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2011/06/23 17:44:20 UTC
svn commit: r1138944 - in
/openejb/trunk/openejb3/examples/mbean-auto-registration/src:
main/java/org/superbiz/mbean/GuessHowManyMBean.java
main/resources/META-INF/beans.xml
test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java
Author: rmannibucau
Date: Thu Jun 23 15:44:20 2011
New Revision: 1138944
URL: http://svn.apache.org/viewvc?rev=1138944&view=rev
Log:
adding missing headers
Modified:
openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/java/org/superbiz/mbean/GuessHowManyMBean.java
openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/resources/META-INF/beans.xml
openejb/trunk/openejb3/examples/mbean-auto-registration/src/test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java
Modified: openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/java/org/superbiz/mbean/GuessHowManyMBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/java/org/superbiz/mbean/GuessHowManyMBean.java?rev=1138944&r1=1138943&r2=1138944&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/java/org/superbiz/mbean/GuessHowManyMBean.java (original)
+++ openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/java/org/superbiz/mbean/GuessHowManyMBean.java Thu Jun 23 15:44:20 2011
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.superbiz.mbean;
import javax.management.Description;
Modified: openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/resources/META-INF/beans.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/resources/META-INF/beans.xml?rev=1138944&r1=1138943&r2=1138944&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/resources/META-INF/beans.xml (original)
+++ openejb/trunk/openejb3/examples/mbean-auto-registration/src/main/resources/META-INF/beans.xml Thu Jun 23 15:44:20 2011
@@ -1 +1,17 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<beans />
Modified: openejb/trunk/openejb3/examples/mbean-auto-registration/src/test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/mbean-auto-registration/src/test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java?rev=1138944&r1=1138943&r2=1138944&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/mbean-auto-registration/src/test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java (original)
+++ openejb/trunk/openejb3/examples/mbean-auto-registration/src/test/java/org/superbiz/mbean/GuessHowManyMBeanTest.java Thu Jun 23 15:44:20 2011
@@ -1,3 +1,19 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.superbiz.mbean;
import org.junit.Test;
@@ -11,7 +27,6 @@ import java.lang.management.ManagementFa
import java.util.Properties;
import static junit.framework.Assert.assertEquals;
-import static junit.framework.Assert.assertNotSame;
/**
* @author Romain Manni-Bucau