| Modifier and Type | Method and Description |
|---|---|
<T> T |
addAttachment(Class<T> clazz,
T value)
Attach an arbirtary object with this element.
|
protected void |
addWire(org.jboss.osgi.resolver.spi.AbstractWire wire) |
boolean |
equals(Object obj) |
<T> T |
getAttachment(Class<T> clazz)
Get the attached object for a given key
|
XBundleCapability |
getBundleCapability()
Get this modules host capability
|
List<String> |
getBundleClassPath()
Get the bundle class paths
|
List<XRequireBundleRequirement> |
getBundleRequirements()
Get the bundle requirements
|
List<XCapability> |
getCapabilities()
Get all module capabilities
|
List<XPackageRequirement> |
getDynamicPackageRequirements()
Get the dynamic package requirements
|
XFragmentHostRequirement |
getHostRequirement()
Get the fragment host requirement if this module is a fragment
|
String |
getModuleActivator()
Get the optional module activator
|
XModuleIdentity |
getModuleId()
Get the module id
|
String |
getName()
Get the name for this capability.
|
List<XPackageCapability> |
getPackageCapabilities()
Get the package capabilities
|
List<XPackageRequirement> |
getPackageRequirements()
Get the non-dynamic package requirements
|
List<XRequirement> |
getRequirements()
Get all module requirements
|
XResolver |
getResolver()
Get the resolver that is controlling this module.
|
org.osgi.framework.Version |
getVersion()
Get the module version
|
List<XWire> |
getWires()
Get the list of wires for this module
|
int |
hashCode() |
boolean |
isFragment()
True is this module represents a fragment
|
boolean |
isResolved()
True if this module is resolved
|
<T> T |
removeAttachment(Class<T> clazz)
Remove an attached object for a given key
|
StringBuffer |
toLongString(StringBuffer buffer) |
String |
toString() |
public XResolver getResolver()
XModulegetResolver in interface XModulepublic XModuleIdentity getModuleId()
XModulegetModuleId in interface XModulepublic org.osgi.framework.Version getVersion()
XModulegetVersion in interface XModulepublic String getModuleActivator()
XModulegetModuleActivator in interface XModulepublic boolean isResolved()
XModuleisResolved in interface XModulepublic List<XCapability> getCapabilities()
XModulegetCapabilities in interface XModulepublic List<XRequirement> getRequirements()
XModulegetRequirements in interface XModulepublic List<XRequireBundleRequirement> getBundleRequirements()
XModulegetBundleRequirements in interface XModulepublic XBundleCapability getBundleCapability()
XModulegetBundleCapability in interface XModulepublic List<XPackageCapability> getPackageCapabilities()
XModulegetPackageCapabilities in interface XModulepublic List<XPackageRequirement> getPackageRequirements()
XModulegetPackageRequirements in interface XModulepublic List<XPackageRequirement> getDynamicPackageRequirements()
XModulegetDynamicPackageRequirements in interface XModulepublic XFragmentHostRequirement getHostRequirement()
XModulegetHostRequirement in interface XModulepublic boolean isFragment()
XModuleisFragment in interface XModulepublic List<String> getBundleClassPath()
XModulegetBundleClassPath in interface XModulepublic List<XWire> getWires()
XModuleprotected void addWire(org.jboss.osgi.resolver.spi.AbstractWire wire)
public <T> T addAttachment(Class<T> clazz, T value)
XAttachmentSupportaddAttachment in interface XAttachmentSupportclazz - key for the attachmentpublic <T> T getAttachment(Class<T> clazz)
XAttachmentSupportgetAttachment in interface XAttachmentSupportclazz - key for the attachmentpublic <T> T removeAttachment(Class<T> clazz)
XAttachmentSupportremoveAttachment in interface XAttachmentSupportclazz - key for the attachmentpublic StringBuffer toLongString(StringBuffer buffer)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.