org.jboss.osgi.deployer.helpers
Class PackageAdminDependencyItem

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.plugins.AbstractDependencyItem
          extended by org.jboss.osgi.deployer.helpers.PackageAdminDependencyItem
All Implemented Interfaces:
java.lang.Cloneable, org.jboss.dependency.spi.DependencyItem, org.jboss.util.JBossInterface

public class PackageAdminDependencyItem
extends org.jboss.dependency.plugins.AbstractDependencyItem

This dependency item uses the OSGi PackageAdmin to trigger a bundle resolve attempt.

Since:
04-Mar-2009
Author:
Ales Justin, Thomas.Diesler@jboss.com

Field Summary
 
Fields inherited from class org.jboss.dependency.plugins.AbstractDependencyItem
log
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, toString
 
Constructor Summary
PackageAdminDependencyItem(org.osgi.framework.BundleContext systemContext, org.osgi.framework.Bundle bundle)
           
 
Method Summary
 boolean resolve(org.jboss.dependency.spi.Controller controller)
           
protected  void toHumanReadableString(java.lang.StringBuilder builder)
           
 
Methods inherited from class org.jboss.dependency.plugins.AbstractDependencyItem
addDependsOnMe, getDependentState, getIDependOn, getName, getWhenRequired, isResolved, setIDependOn, setResolved, toHumanReadableString, toShortString, toString, unresolved, unresolved
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageAdminDependencyItem

public PackageAdminDependencyItem(org.osgi.framework.BundleContext systemContext,
                                  org.osgi.framework.Bundle bundle)
Method Detail

resolve

public boolean resolve(org.jboss.dependency.spi.Controller controller)
Specified by:
resolve in interface org.jboss.dependency.spi.DependencyItem
Overrides:
resolve in class org.jboss.dependency.plugins.AbstractDependencyItem

toHumanReadableString

protected void toHumanReadableString(java.lang.StringBuilder builder)
Overrides:
toHumanReadableString in class org.jboss.dependency.plugins.AbstractDependencyItem


Copyright © 2010. All Rights Reserved.