[jboss-cvs] JBossAS SVN: r81892 - projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 1 06:53:11 EST 2008
Author: alesj
Date: 2008-12-01 06:53:11 -0500 (Mon, 01 Dec 2008)
New Revision: 81892
Modified:
projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/ClassLoaderAwareGenericBeanFactory.java
projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/SecurityActions.java
Log:
javadocs
Modified: projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/ClassLoaderAwareGenericBeanFactory.java
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/ClassLoaderAwareGenericBeanFactory.java 2008-12-01 11:43:56 UTC (rev 81891)
+++ projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/ClassLoaderAwareGenericBeanFactory.java 2008-12-01 11:53:11 UTC (rev 81892)
@@ -25,24 +25,33 @@
import org.jboss.kernel.spi.config.KernelConfigurator;
/**
- *
+ * CL aware GBF.
+ *
* @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
* @version $Revision: 1.1 $
*/
public class ClassLoaderAwareGenericBeanFactory extends GenericBeanFactory
{
- ThreadLocal<ClassLoader> pushedLoader = new ThreadLocal<ClassLoader>();
+ private ThreadLocal<ClassLoader> pushedLoader = new ThreadLocal<ClassLoader>();
public ClassLoaderAwareGenericBeanFactory(KernelConfigurator configurator)
{
super(configurator);
}
-
+
+ /**
+ * Push classloader into thread local.
+ *
+ * @param loader the loader
+ */
public void pushLoader(ClassLoader loader)
{
pushedLoader.set(loader);
}
-
+
+ /**
+ * Pop loader from thread local.
+ */
public void popLoader()
{
pushedLoader.set(null);
@@ -61,6 +70,4 @@
return super.createBean(loader);
}
}
-
-
}
Modified: projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/SecurityActions.java
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/SecurityActions.java 2008-12-01 11:43:56 UTC (rev 81891)
+++ projects/microcontainer/trunk/aop-mc-int/src/main/java/org/jboss/aop/microcontainer/beans/SecurityActions.java 2008-12-01 11:53:11 UTC (rev 81892)
@@ -25,7 +25,8 @@
import java.security.PrivilegedAction;
/**
- *
+ * CL security actions.
+ *
* @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
* @version $Revision: 1.1 $
*/
More information about the jboss-cvs-commits
mailing list