[jboss-cvs] JBossAS SVN: r95576 - projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 26 13:55:02 EDT 2009
Author: kabir.khan at jboss.com
Date: 2009-10-26 13:55:02 -0400 (Mon, 26 Oct 2009)
New Revision: 95576
Modified:
projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel/BeanMetaDataDeployer.java
Log:
[JBDEPLOY-219] Make createControllerContext protected + javadoc
Modified: projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel/BeanMetaDataDeployer.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel/BeanMetaDataDeployer.java 2009-10-26 17:52:59 UTC (rev 95575)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel/BeanMetaDataDeployer.java 2009-10-26 17:55:02 UTC (rev 95576)
@@ -158,7 +158,15 @@
}
}
- private KernelControllerContext createControllerContext(DeploymentUnit unit, BeanMetaData deployment)
+ /**
+ * Creates a kernel controller context using the controller context creators in controllerContextCreators.
+ * The first controller context creator that returns a context is used. If no matching controller context
+ * creator is found, a plain KernelControllerContext is created.
+ * @param unit The deployment unit
+ * @param deployment The bean metadata being deployed
+ * @return the created KernelControllerContext
+ */
+ protected KernelControllerContext createControllerContext(DeploymentUnit unit, BeanMetaData deployment)
{
if (controllerContextCreators.size() > 0)
{
More information about the jboss-cvs-commits
mailing list