You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/01/08 20:37:44 UTC
svn commit: r732801 [1/3] - in
/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans: ./
manager/
Author: gerdogdu
Date: Thu Jan 8 11:37:42 2009
New Revision: 732801
URL: http://svn.apache.org/viewvc?rev=732801&view=rev
Log:
Formatting tabs to space.
Modified:
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionCompletion.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionFailure.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionSuccess.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AmbiguousDependencyException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ApplicationScoped.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BeforeTransactionCompletion.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BindingType.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Conversation.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ConversationScoped.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/CreationException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Current.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorates.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorator.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DefinitionException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Dependent.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentType.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Destructor.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Disposes.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DuplicateBindingTypeException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Event.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ExecutionException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Fires.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IfExists.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IllegalProductException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/InconsistentSpecializationException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Initializer.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Interceptor.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/InterceptorBindingType.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Named.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/New.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonBinding.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonexistentConstructorException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonexistentFieldException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonexistentMemberException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonexistentMethodException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NonexistentTypeException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/NullableDependencyException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Observer.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ObserverException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Observes.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Produces.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Production.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/RequestScoped.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ScopeType.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/SessionScoped.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Specializes.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Standard.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Stereotype.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/TypeLiteral.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/UnproxyableDependencyException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/UnremovedException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/UnsatisfiedDependencyException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/UnserializableDependencyException.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Bean.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Context.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Decorator.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/EnterpriseBeanLookup.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Initialized.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/InterceptionType.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Interceptor.java
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/manager/Manager.java
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionCompletion.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionCompletion.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionCompletion.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionCompletion.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionFailure.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionFailure.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionFailure.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionFailure.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionSuccess.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionSuccess.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionSuccess.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AfterTransactionSuccess.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AmbiguousDependencyException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AmbiguousDependencyException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AmbiguousDependencyException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AmbiguousDependencyException.java Thu Jan 8 11:37:42 2009
@@ -1,43 +1,40 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class AmbiguousDependencyException extends DeploymentException
{
- private static final long serialVersionUID = -870939668365532685L;
+ private static final long serialVersionUID = -870939668365532685L;
- public AmbiguousDependencyException()
- {
- super();
- }
-
- public AmbiguousDependencyException(String message)
- {
- super(message);
- }
-
- public AmbiguousDependencyException(Throwable e)
- {
- super(e);
- }
-
- public AmbiguousDependencyException(String message, Throwable e)
- {
- super(message, e);
- }
+ public AmbiguousDependencyException()
+ {
+ super();
+ }
+
+ public AmbiguousDependencyException(String message)
+ {
+ super(message);
+ }
+
+ public AmbiguousDependencyException(Throwable e)
+ {
+ super(e);
+ }
+
+ public AmbiguousDependencyException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/AnnotationLiteral.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -25,142 +22,142 @@
public abstract class AnnotationLiteral<T extends Annotation> implements Annotation
{
- private Class<T> annotationType;
- private Method[] members;
+ private Class<T> annotationType;
+ private Method[] members;
- protected AnnotationLiteral()
- {
- Class<?> annotationLiteralSubclass = getAnnotationLiteralSubclass(this.getClass());
- if (annotationLiteralSubclass == null)
- {
- throw new RuntimeException(getClass() + "is not a subclass of AnnotationLiteral ");
- }
-
- annotationType = getTypeParameter(annotationLiteralSubclass);
-
- if (annotationType == null)
- {
- throw new RuntimeException(getClass() + " is missing type parameter in AnnotationLiteral");
- }
-
- this.members = annotationType.getDeclaredMethods();
- }
-
- @SuppressWarnings("unchecked")
- private static Class<?> getAnnotationLiteralSubclass(Class<?> clazz)
- {
- Class<?> superclass = clazz.getSuperclass();
- if (superclass.equals(AnnotationLiteral.class))
- {
- return clazz;
- } else if (superclass.equals(Object.class))
- {
- return null;
- } else
- {
- return (getAnnotationLiteralSubclass(superclass));
- }
- }
-
- @SuppressWarnings("unchecked")
- private static <T> Class<T> getTypeParameter(Class<?> annotationLiteralSuperclass)
- {
- Type type = annotationLiteralSuperclass.getGenericSuperclass();
- if (type instanceof ParameterizedType)
- {
- ParameterizedType parameterizedType = (ParameterizedType) type;
- if (parameterizedType.getActualTypeArguments().length == 1)
- {
- return (Class<T>) parameterizedType.getActualTypeArguments()[0];
- }
- }
- return null;
- }
-
- public Class<? extends Annotation> annotationType()
- {
- return annotationType;
- }
-
- @Override
- public String toString()
- {
-
- String string = "@" + annotationType().getName() + "(";
- for (int i = 0; i < members.length; i++)
- {
- string += members[i].getName() + "=";
- string += invoke(members[i], this);
- if (i < members.length - 1)
- {
- string += ",";
- }
- }
- return string + ")";
- }
-
- @Override
- public boolean equals(Object other)
- {
- if (other instanceof Annotation)
- {
- Annotation that = (Annotation) other;
- if (this.annotationType().equals(that.annotationType()))
- {
- for (Method member : members)
- {
- Object thisValue = invoke(member, this);
- Object thatValue = invoke(member, that);
- if (!thisValue.equals(thatValue))
- {
- return false;
- }
- }
- return true;
- }
- }
- return false;
- }
-
- @Override
- /*
- * The hash code of a primitive value v is equal to
- * WrapperType.valueOf(v).hashCode(), where WrapperType is the wrapper type
- * corresponding to the primitive type of v (Byte, Character, Double, Float,
- * Integer, Long, Short, or Boolean). The hash code of a string, enum,
- * class, or annotation member-value I v is computed as by calling
- * v.hashCode(). (In the case of annotation member values, this is a
- * recursive definition.) The hash code of an array member-value is computed
- * by calling the appropriate overloading of Arrays.hashCode on the value.
- * (There is one overloading for each primitive type, and one for object
- * reference types.)
- */
- public int hashCode()
- {
- int hashCode = 0;
- for (Method member : members)
- {
- int memberNameHashCode = 127 * member.getName().hashCode();
- int memberValueHashCode = invoke(member, this).hashCode();
- hashCode += memberNameHashCode ^ memberValueHashCode;
- }
- return hashCode;
- }
-
- private static Object invoke(Method method, Object instance)
- {
- try
- {
- return method.invoke(instance);
- } catch (IllegalArgumentException e)
- {
- throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
- } catch (IllegalAccessException e)
- {
- throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
- } catch (InvocationTargetException e)
- {
- throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
- }
- }
+ protected AnnotationLiteral()
+ {
+ Class<?> annotationLiteralSubclass = getAnnotationLiteralSubclass(this.getClass());
+ if (annotationLiteralSubclass == null)
+ {
+ throw new RuntimeException(getClass() + "is not a subclass of AnnotationLiteral ");
+ }
+
+ annotationType = getTypeParameter(annotationLiteralSubclass);
+
+ if (annotationType == null)
+ {
+ throw new RuntimeException(getClass() + " is missing type parameter in AnnotationLiteral");
+ }
+
+ this.members = annotationType.getDeclaredMethods();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Class<?> getAnnotationLiteralSubclass(Class<?> clazz)
+ {
+ Class<?> superclass = clazz.getSuperclass();
+ if (superclass.equals(AnnotationLiteral.class))
+ {
+ return clazz;
+ } else if (superclass.equals(Object.class))
+ {
+ return null;
+ } else
+ {
+ return (getAnnotationLiteralSubclass(superclass));
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ private static <T> Class<T> getTypeParameter(Class<?> annotationLiteralSuperclass)
+ {
+ Type type = annotationLiteralSuperclass.getGenericSuperclass();
+ if (type instanceof ParameterizedType)
+ {
+ ParameterizedType parameterizedType = (ParameterizedType) type;
+ if (parameterizedType.getActualTypeArguments().length == 1)
+ {
+ return (Class<T>) parameterizedType.getActualTypeArguments()[0];
+ }
+ }
+ return null;
+ }
+
+ public Class<? extends Annotation> annotationType()
+ {
+ return annotationType;
+ }
+
+ @Override
+ public String toString()
+ {
+
+ String string = "@" + annotationType().getName() + "(";
+ for (int i = 0; i < members.length; i++)
+ {
+ string += members[i].getName() + "=";
+ string += invoke(members[i], this);
+ if (i < members.length - 1)
+ {
+ string += ",";
+ }
+ }
+ return string + ")";
+ }
+
+ @Override
+ public boolean equals(Object other)
+ {
+ if (other instanceof Annotation)
+ {
+ Annotation that = (Annotation) other;
+ if (this.annotationType().equals(that.annotationType()))
+ {
+ for (Method member : members)
+ {
+ Object thisValue = invoke(member, this);
+ Object thatValue = invoke(member, that);
+ if (!thisValue.equals(thatValue))
+ {
+ return false;
+ }
+ }
+ return true;
+ }
+ }
+ return false;
+ }
+
+ @Override
+ /*
+ * The hash code of a primitive value v is equal to
+ * WrapperType.valueOf(v).hashCode(), where WrapperType is the wrapper type
+ * corresponding to the primitive type of v (Byte, Character, Double, Float,
+ * Integer, Long, Short, or Boolean). The hash code of a string, enum,
+ * class, or annotation member-value I v is computed as by calling
+ * v.hashCode(). (In the case of annotation member values, this is a
+ * recursive definition.) The hash code of an array member-value is computed
+ * by calling the appropriate overloading of Arrays.hashCode on the value.
+ * (There is one overloading for each primitive type, and one for object
+ * reference types.)
+ */
+ public int hashCode()
+ {
+ int hashCode = 0;
+ for (Method member : members)
+ {
+ int memberNameHashCode = 127 * member.getName().hashCode();
+ int memberValueHashCode = invoke(member, this).hashCode();
+ hashCode += memberNameHashCode ^ memberValueHashCode;
+ }
+ return hashCode;
+ }
+
+ private static Object invoke(Method method, Object instance)
+ {
+ try
+ {
+ return method.invoke(instance);
+ } catch (IllegalArgumentException e)
+ {
+ throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
+ } catch (IllegalAccessException e)
+ {
+ throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
+ } catch (InvocationTargetException e)
+ {
+ throw new ExecutionException("Error checking value of member method " + method.getName() + " on " + method.getDeclaringClass(), e);
+ }
+ }
}
\ No newline at end of file
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ApplicationScoped.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ApplicationScoped.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ApplicationScoped.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ApplicationScoped.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BeforeTransactionCompletion.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BeforeTransactionCompletion.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BeforeTransactionCompletion.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BeforeTransactionCompletion.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BindingType.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BindingType.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BindingType.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/BindingType.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ContextNotActiveException.java Thu Jan 8 11:37:42 2009
@@ -1,26 +1,23 @@
/*
- * 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.
+ * 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 javax.webbeans;
import javax.webbeans.manager.Context;
/**
- * If the {@link Context} is not avalaible in the time of
- * web beans component getting, this exception is thrown.
+ * If the {@link Context} is not avalaible in the time of web beans component
+ * getting, this exception is thrown.
*
* @author <a href="mailto:gurkanerdogdu@yahoo.com">Gurkan Erdogdu</a>
* @since 1.0
@@ -28,20 +25,20 @@
public class ContextNotActiveException extends ExecutionException
{
- private static final long serialVersionUID = 4783816486073845333L;
+ private static final long serialVersionUID = 4783816486073845333L;
+
+ public ContextNotActiveException(String message)
+ {
+ super(message);
+ }
+
+ public ContextNotActiveException(Throwable e)
+ {
+ super(e);
+ }
- public ContextNotActiveException(String message)
- {
- super(message);
- }
-
- public ContextNotActiveException(Throwable e)
- {
- super(e);
- }
-
- public ContextNotActiveException(String message, Throwable e)
- {
- super(message, e);
- }
+ public ContextNotActiveException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Conversation.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Conversation.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Conversation.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Conversation.java Thu Jan 8 11:37:42 2009
@@ -1,35 +1,32 @@
/*
- * 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.
+ * 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 javax.webbeans;
public interface Conversation
{
- public void begin();
+ public void begin();
- public void begin(String id);
+ public void begin(String id);
- public void end();
+ public void end();
- public boolean isLongRunning();
+ public boolean isLongRunning();
- public String getId();
+ public String getId();
- public long getTimeout();
+ public long getTimeout();
- public void setTimeout(long milliseconds);
+ public void setTimeout(long milliseconds);
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ConversationScoped.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ConversationScoped.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ConversationScoped.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ConversationScoped.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/CreationException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/CreationException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/CreationException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/CreationException.java Thu Jan 8 11:37:42 2009
@@ -1,44 +1,40 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class CreationException extends ExecutionException
{
- private static final long serialVersionUID = -3952691051791639005L;
+ private static final long serialVersionUID = -3952691051791639005L;
- public CreationException()
- {
- super();
- }
-
- public CreationException(String message)
- {
- super(message);
- }
-
- public CreationException(Throwable e)
- {
- super(e);
- }
-
- public CreationException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ public CreationException()
+ {
+ super();
+ }
+
+ public CreationException(String message)
+ {
+ super(message);
+ }
+
+ public CreationException(Throwable e)
+ {
+ super(e);
+ }
+
+ public CreationException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Current.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Current.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Current.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Current.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -27,16 +24,15 @@
import java.lang.annotation.Target;
/**
-* Defines the current instance web beans component in the context.
-*
-* @author gurkanerdogdu
-* @since 1.0
-*/
+ * Defines the current instance web beans component in the context.
+ *
+ * @author gurkanerdogdu
+ * @since 1.0
+ */
@Target( { TYPE, METHOD, PARAMETER, FIELD })
@Retention(RUNTIME)
@Documented
@BindingType
-public @interface Current
-{
+public @interface Current {
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorates.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorates.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorates.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorates.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -26,7 +23,6 @@
@Target(FIELD)
@Retention(RUNTIME)
@Documented
-public @interface Decorates
-{
+public @interface Decorates {
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorator.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorator.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorator.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Decorator.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -26,7 +23,6 @@
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
@Stereotype
-public @interface Decorator
-{
-
+public @interface Decorator {
+
}
\ No newline at end of file
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DefinitionException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DefinitionException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DefinitionException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DefinitionException.java Thu Jan 8 11:37:42 2009
@@ -1,51 +1,47 @@
/*
- * 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.
+ * 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 javax.webbeans;
/**
- * Defines the exception that is thrown when the definitons
- * of the web beans component is not logically correct.
+ * Defines the exception that is thrown when the definitons of the web beans
+ * component is not logically correct.
*
* @author <a href="mailto:gurkanerdogdu@yahoo.com">Gurkan Erdogdu</a>
* @since 1.0
*/
public class DefinitionException extends RuntimeException
{
- private static final long serialVersionUID = -6261526411795328050L;
-
- public DefinitionException()
- {
- super();
- }
-
- public DefinitionException(String message)
- {
- super(message);
- }
-
- public DefinitionException(Throwable e)
- {
- super(e);
- }
-
- public DefinitionException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ private static final long serialVersionUID = -6261526411795328050L;
+
+ public DefinitionException()
+ {
+ super();
+ }
+
+ public DefinitionException(String message)
+ {
+ super(message);
+ }
+
+ public DefinitionException(Throwable e)
+ {
+ super(e);
+ }
+
+ public DefinitionException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Dependent.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Dependent.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Dependent.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Dependent.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -22,15 +19,15 @@
import java.lang.annotation.Target;
/**
- * Some web beans components is not lived without its parent web beans component.
- * This parent web beans components saves this dependent web beans components in
- * its {@link Dependent} scope. This annotation is used for marking the web beans
- * scope as dependent.
+ * Some web beans components is not lived without its parent web beans
+ * component. This parent web beans components saves this dependent web beans
+ * components in its {@link Dependent} scope. This annotation is used for
+ * marking the web beans scope as dependent.
*
* @author <a href="mailto:gurkanerdogdu@yahoo.com">Gurkan Erdogdu</a>
* @since 1.0
*/
-@ScopeType(normal=false)
+@ScopeType(normal = false)
@Target( { ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Dependent {
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentException.java Thu Jan 8 11:37:42 2009
@@ -1,44 +1,40 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class DeploymentException extends RuntimeException
{
- private static final long serialVersionUID = -6635290650256485602L;
+ private static final long serialVersionUID = -6635290650256485602L;
- public DeploymentException()
- {
- super();
- }
-
- public DeploymentException(String message)
- {
- super(message);
- }
-
- public DeploymentException(Throwable e)
- {
- super(e);
- }
-
- public DeploymentException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ public DeploymentException()
+ {
+ super();
+ }
+
+ public DeploymentException(String message)
+ {
+ super(message);
+ }
+
+ public DeploymentException(Throwable e)
+ {
+ super(e);
+ }
+
+ public DeploymentException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentType.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentType.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentType.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DeploymentType.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -24,20 +21,19 @@
import java.lang.annotation.Target;
/**
-* <p>
-* Every web beans components has some types. DeploymentType meta annotation is used
-* for definining new component types. There are two default deployment type, these are
-* {@link Production} for application components and {@link Standard} for standart
-* components.
-* </p>
-*
-* @author gurkanerdogdu
-* @since 1.0
-*/
+ * <p>
+ * Every web beans components has some types. DeploymentType meta annotation is
+ * used for definining new component types. There are two default deployment
+ * type, these are {@link Production} for application components and
+ * {@link Standard} for standart components.
+ * </p>
+ *
+ * @author gurkanerdogdu
+ * @since 1.0
+ */
@Target(ANNOTATION_TYPE)
@Retention(RUNTIME)
@Documented
-public @interface DeploymentType
-{
+public @interface DeploymentType {
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Destructor.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Destructor.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Destructor.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Destructor.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -23,12 +20,11 @@
import java.lang.annotation.Target;
/**
-*
-* Specifies the destructor method for the EJB statefull web beans components.
-*
-* @author gurkanerdogdu
-* @since 1.0
-*/
+ * Specifies the destructor method for the EJB statefull web beans components.
+ *
+ * @author gurkanerdogdu
+ * @since 1.0
+ */
@Retention(RUNTIME)
@Target(METHOD)
public @interface Destructor {
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Disposes.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Disposes.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Disposes.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Disposes.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -22,9 +19,9 @@
import java.lang.annotation.Target;
/**
- * Some producer method components defines it disposal method to dispose
- * its created object. This annotation is used at method parameter that corresponds
- * to the created producer component instance.
+ * Some producer method components defines it disposal method to dispose its
+ * created object. This annotation is used at method parameter that corresponds
+ * to the created producer component instance.
*
* @author <a href="mailto:gurkanerdogdu@yahoo.com">Gurkan Erdogdu</a>
* @since 1.0
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DuplicateBindingTypeException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DuplicateBindingTypeException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DuplicateBindingTypeException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/DuplicateBindingTypeException.java Thu Jan 8 11:37:42 2009
@@ -1,44 +1,40 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class DuplicateBindingTypeException extends ExecutionException
{
- private static final long serialVersionUID = 8216920810441408338L;
+ private static final long serialVersionUID = 8216920810441408338L;
- public DuplicateBindingTypeException()
- {
- super();
- }
-
- public DuplicateBindingTypeException(String message)
- {
- super(message);
- }
-
- public DuplicateBindingTypeException(Throwable e)
- {
- super(e);
- }
-
- public DuplicateBindingTypeException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ public DuplicateBindingTypeException()
+ {
+ super();
+ }
+
+ public DuplicateBindingTypeException(String message)
+ {
+ super(message);
+ }
+
+ public DuplicateBindingTypeException(Throwable e)
+ {
+ super(e);
+ }
+
+ public DuplicateBindingTypeException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Event.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Event.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Event.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Event.java Thu Jan 8 11:37:42 2009
@@ -1,29 +1,25 @@
/*
- * 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.
+ * 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 javax.webbeans;
import java.lang.annotation.Annotation;
-
public interface Event<T>
{
- public void fire(T event, Annotation... bindings);
-
- public void observe(Observer<T> observer, Annotation... bindings);
-
+ public void fire(T event, Annotation... bindings);
+
+ public void observe(Observer<T> observer, Annotation... bindings);
+
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ExecutionException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ExecutionException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ExecutionException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ExecutionException.java Thu Jan 8 11:37:42 2009
@@ -1,45 +1,41 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class ExecutionException extends RuntimeException
{
- private static final long serialVersionUID = -32096734405984195L;
+ private static final long serialVersionUID = -32096734405984195L;
- public ExecutionException()
- {
- super();
- }
-
- public ExecutionException(String message)
- {
- super(message);
- }
-
- public ExecutionException(Throwable e)
- {
- super(e);
- }
-
- public ExecutionException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ public ExecutionException()
+ {
+ super();
+ }
+
+ public ExecutionException(String message)
+ {
+ super(message);
+ }
+
+ public ExecutionException(Throwable e)
+ {
+ super(e);
+ }
+
+ public ExecutionException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Fires.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Fires.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Fires.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Fires.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -30,7 +27,6 @@
@Retention(RUNTIME)
@Target( { TYPE, METHOD, FIELD, PARAMETER })
@Documented
-public @interface Fires
-{
+public @interface Fires {
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IfExists.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IfExists.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IfExists.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IfExists.java Thu Jan 8 11:37:42 2009
@@ -1,18 +1,15 @@
/*
- * 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.
+ * 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 javax.webbeans;
@@ -32,7 +29,6 @@
@Target(PARAMETER)
@Retention(RUNTIME)
@Documented
-public @interface IfExists
-{
+public @interface IfExists {
}
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IllegalProductException.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IllegalProductException.java?rev=732801&r1=732800&r2=732801&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IllegalProductException.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/IllegalProductException.java Thu Jan 8 11:37:42 2009
@@ -1,44 +1,40 @@
/*
- * 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.
+ * 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 javax.webbeans;
public class IllegalProductException extends ExecutionException
{
- private static final long serialVersionUID = 1490337449170464997L;
+ private static final long serialVersionUID = 1490337449170464997L;
- public IllegalProductException()
- {
- super();
- }
-
- public IllegalProductException(String message)
- {
- super(message);
- }
-
- public IllegalProductException(Throwable e)
- {
- super(e);
- }
-
- public IllegalProductException(String message, Throwable e)
- {
- super(message, e);
- }
-
+ public IllegalProductException()
+ {
+ super();
+ }
+
+ public IllegalProductException(String message)
+ {
+ super(message);
+ }
+
+ public IllegalProductException(Throwable e)
+ {
+ super(e);
+ }
+
+ public IllegalProductException(String message, Throwable e)
+ {
+ super(message, e);
+ }
}