org.jboss.osgi.resolver.spi
Class AbstractBundleWire

java.lang.Object
  extended by org.jboss.osgi.resolver.spi.AbstractWire
      extended by org.jboss.osgi.resolver.spi.AbstractBundleWire
All Implemented Interfaces:
XWire, org.osgi.framework.wiring.BundleWire, org.osgi.resource.Wire

public class AbstractBundleWire
extends AbstractWire
implements org.osgi.framework.wiring.BundleWire

The BundleWire implementation.

Since:
23-Feb-2012
Author:
thomas.diesler@jboss.com

Constructor Summary
AbstractBundleWire(org.osgi.framework.wiring.BundleCapability cap, org.osgi.framework.wiring.BundleRequirement req, org.osgi.framework.wiring.BundleRevision provider, org.osgi.framework.wiring.BundleRevision requirer)
           
AbstractBundleWire(org.osgi.resource.Wire wire)
           
 
Method Summary
 XBundleCapability getCapability()
           
 XBundleRevision getProvider()
           
 org.osgi.framework.wiring.BundleWiring getProviderWiring()
           
 org.osgi.framework.wiring.BundleWiring getProviderWiring(boolean checkInUse)
           
 XBundleRequirement getRequirement()
           
 XBundleRevision getRequirer()
           
 org.osgi.framework.wiring.BundleWiring getRequirerWiring()
           
 org.osgi.framework.wiring.BundleWiring getRequirerWiring(boolean checkInUse)
           
 
Methods inherited from class org.jboss.osgi.resolver.spi.AbstractWire
setProviderWiring, setRequirerWiring, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.osgi.resource.Wire
equals, hashCode
 

Constructor Detail

AbstractBundleWire

public AbstractBundleWire(org.osgi.resource.Wire wire)

AbstractBundleWire

public AbstractBundleWire(org.osgi.framework.wiring.BundleCapability cap,
                          org.osgi.framework.wiring.BundleRequirement req,
                          org.osgi.framework.wiring.BundleRevision provider,
                          org.osgi.framework.wiring.BundleRevision requirer)
Method Detail

getProviderWiring

public org.osgi.framework.wiring.BundleWiring getProviderWiring()
Specified by:
getProviderWiring in interface XWire
Specified by:
getProviderWiring in interface org.osgi.framework.wiring.BundleWire
Overrides:
getProviderWiring in class AbstractWire

getRequirerWiring

public org.osgi.framework.wiring.BundleWiring getRequirerWiring()
Specified by:
getRequirerWiring in interface XWire
Specified by:
getRequirerWiring in interface org.osgi.framework.wiring.BundleWire
Overrides:
getRequirerWiring in class AbstractWire

getProviderWiring

public org.osgi.framework.wiring.BundleWiring getProviderWiring(boolean checkInUse)

getRequirerWiring

public org.osgi.framework.wiring.BundleWiring getRequirerWiring(boolean checkInUse)

getProvider

public XBundleRevision getProvider()
Specified by:
getProvider in interface org.osgi.framework.wiring.BundleWire
Specified by:
getProvider in interface org.osgi.resource.Wire
Overrides:
getProvider in class AbstractWire

getRequirer

public XBundleRevision getRequirer()
Specified by:
getRequirer in interface org.osgi.framework.wiring.BundleWire
Specified by:
getRequirer in interface org.osgi.resource.Wire
Overrides:
getRequirer in class AbstractWire

getCapability

public XBundleCapability getCapability()
Specified by:
getCapability in interface org.osgi.framework.wiring.BundleWire
Specified by:
getCapability in interface org.osgi.resource.Wire
Overrides:
getCapability in class AbstractWire

getRequirement

public XBundleRequirement getRequirement()
Specified by:
getRequirement in interface org.osgi.framework.wiring.BundleWire
Specified by:
getRequirement in interface org.osgi.resource.Wire
Overrides:
getRequirement in class AbstractWire


Copyright © 2013 JBoss by Red Hat. All Rights Reserved.