[jboss-osgi-commits] JBoss-OSGI SVN: r97240 - projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle.
jboss-osgi-commits at lists.jboss.org
jboss-osgi-commits at lists.jboss.org
Tue Dec 1 10:42:43 EST 2009
Author: alesj
Date: 2009-12-01 10:42:43 -0500 (Tue, 01 Dec 2009)
New Revision: 97240
Modified:
projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/ContextRegistryAction.java
projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java
Log:
Typos.
Modified: projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/ContextRegistryAction.java
===================================================================
--- projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/ContextRegistryAction.java 2009-12-01 15:29:01 UTC (rev 97239)
+++ projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/ContextRegistryAction.java 2009-12-01 15:42:43 UTC (rev 97240)
@@ -22,6 +22,7 @@
package org.jboss.osgi.framework.bundle;
import org.jboss.dependency.spi.Controller;
+import org.jboss.dependency.spi.ControllerContext;
import org.jboss.dependency.spi.tracker.ContextRegistry;
/**
@@ -37,7 +38,7 @@
* @param context the context
* @return context registry or null if cannot be applied
*/
- protected ContextRegistry getContextRegistry(org.jboss.dependency.spi.ControllerContext context)
+ protected ContextRegistry getContextRegistry(ControllerContext context)
{
Controller controller = context.getController();
return (controller instanceof ContextRegistry) ? ContextRegistry.class.cast(controller) : null;
Modified: projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java
===================================================================
--- projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java 2009-12-01 15:29:01 UTC (rev 97239)
+++ projects/jboss-osgi/trunk/reactor/framework/src/main/java/org/jboss/osgi/framework/bundle/OSGiBundleManager.java 2009-12-01 15:42:43 UTC (rev 97240)
@@ -317,8 +317,8 @@
{
if (user instanceof AbstractBundleState)
return (AbstractBundleState)user;
- else if (user instanceof org.jboss.dependency.spi.ControllerContext)
- return getBundleForContext((org.jboss.dependency.spi.ControllerContext)user);
+ else if (user instanceof ControllerContext)
+ return getBundleForContext((ControllerContext)user);
else
throw new IllegalArgumentException("Unknown tracker type: " + user);
}
@@ -1111,7 +1111,7 @@
return true;
DeploymentUnit unit = bundleState.getDeploymentUnit();
- org.jboss.dependency.spi.ControllerContext context = unit.getAttachment(org.jboss.dependency.spi.ControllerContext.class);
+ ControllerContext context = unit.getAttachment(ControllerContext.class);
ControllerState requiredState = context.getRequiredState();
DeploymentStage requiredStage = unit.getRequiredStage();
More information about the jboss-osgi-commits
mailing list