[jboss-cvs] JBossAS SVN: r93794 - in projects/interceptors/trunk/src: main/java/org/jboss/interceptor/Utils and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 21 01:33:47 EDT 2009


Author: marius.bogoevici
Date: 2009-09-21 01:33:46 -0400 (Mon, 21 Sep 2009)
New Revision: 93794

Added:
   projects/interceptors/trunk/src/main/java/org/jboss/interceptor/util/
   projects/interceptors/trunk/src/main/java/org/jboss/interceptor/util/InterceptionUtils.java
Removed:
   projects/interceptors/trunk/src/main/java/org/jboss/interceptor/Utils/InterceptionUtils.java
Modified:
   projects/interceptors/trunk/src/test/java/org/jboss/interceptors/InterceptionTest.java
Log:
renaming package to get rid of uppercase letter

Deleted: projects/interceptors/trunk/src/main/java/org/jboss/interceptor/Utils/InterceptionUtils.java
===================================================================
--- projects/interceptors/trunk/src/main/java/org/jboss/interceptor/Utils/InterceptionUtils.java	2009-09-21 05:27:28 UTC (rev 93793)
+++ projects/interceptors/trunk/src/main/java/org/jboss/interceptor/Utils/InterceptionUtils.java	2009-09-21 05:33:46 UTC (rev 93794)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
- * contributors by the @authors tag. See the copyright.txt in the
- * distribution for a full listing of individual contributors.
- *
- * Licensed 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.jboss.interceptor.utils;
-
-import org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl;
-
-/**
- * @author <a href="mailto:mariusb at redhat.com">Marius Bogoevici</a>
- */
-public class InterceptionUtils
-{
-   public static void executePostConstruct(Object proxy) {
-      if (proxy instanceof InterceptorProxyCreatorImpl.LifecycleMixin) {
-         InterceptorProxyCreatorImpl.LifecycleMixin lifecycleMixin = (InterceptorProxyCreatorImpl.LifecycleMixin) proxy;
-         lifecycleMixin.lifecycle_mixin_$$_postConstruct();
-      }
-   }
-
-   public static void executePredestroy(Object proxy) {
-      if (proxy instanceof InterceptorProxyCreatorImpl.LifecycleMixin) {
-         InterceptorProxyCreatorImpl.LifecycleMixin lifecycleMixin = (InterceptorProxyCreatorImpl.LifecycleMixin) proxy;
-         lifecycleMixin.lifecycle_mixin_$$_preDestroy();
-      }
-   }
-}

Added: projects/interceptors/trunk/src/main/java/org/jboss/interceptor/util/InterceptionUtils.java
===================================================================
--- projects/interceptors/trunk/src/main/java/org/jboss/interceptor/util/InterceptionUtils.java	                        (rev 0)
+++ projects/interceptors/trunk/src/main/java/org/jboss/interceptor/util/InterceptionUtils.java	2009-09-21 05:33:46 UTC (rev 93794)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
+ * contributors by the @authors tag. See the copyright.txt in the
+ * distribution for a full listing of individual contributors.
+ *
+ * Licensed 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.jboss.interceptor.util;
+
+import org.jboss.interceptor.proxy.InterceptorProxyCreatorImpl;
+
+/**
+ * @author <a href="mailto:mariusb at redhat.com">Marius Bogoevici</a>
+ */
+public class InterceptionUtils
+{
+   public static void executePostConstruct(Object proxy) {
+      if (proxy instanceof InterceptorProxyCreatorImpl.LifecycleMixin) {
+         InterceptorProxyCreatorImpl.LifecycleMixin lifecycleMixin = (InterceptorProxyCreatorImpl.LifecycleMixin) proxy;
+         lifecycleMixin.lifecycle_mixin_$$_postConstruct();
+      }
+   }
+
+   public static void executePredestroy(Object proxy) {
+      if (proxy instanceof InterceptorProxyCreatorImpl.LifecycleMixin) {
+         InterceptorProxyCreatorImpl.LifecycleMixin lifecycleMixin = (InterceptorProxyCreatorImpl.LifecycleMixin) proxy;
+         lifecycleMixin.lifecycle_mixin_$$_preDestroy();
+      }
+   }
+}

Modified: projects/interceptors/trunk/src/test/java/org/jboss/interceptors/InterceptionTest.java
===================================================================
--- projects/interceptors/trunk/src/test/java/org/jboss/interceptors/InterceptionTest.java	2009-09-21 05:27:28 UTC (rev 93793)
+++ projects/interceptors/trunk/src/test/java/org/jboss/interceptors/InterceptionTest.java	2009-09-21 05:33:46 UTC (rev 93794)
@@ -23,7 +23,7 @@
 import org.jboss.interceptor.registry.InterceptorRegistry;
 import org.jboss.interceptor.model.InterceptionModelImpl;
 import org.jboss.interceptor.model.InterceptionType;
-import org.jboss.interceptor.utils.InterceptionUtils;
+import org.jboss.interceptor.util.InterceptionUtils;
 import org.junit.Test;
 import org.junit.Before;
 import org.junit.Assert;




More information about the jboss-cvs-commits mailing list