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()
XModule
getResolver
in interface XModule
public XModuleIdentity getModuleId()
XModule
getModuleId
in interface XModule
public org.osgi.framework.Version getVersion()
XModule
getVersion
in interface XModule
public String getModuleActivator()
XModule
getModuleActivator
in interface XModule
public boolean isResolved()
XModule
isResolved
in interface XModule
public List<XCapability> getCapabilities()
XModule
getCapabilities
in interface XModule
public List<XRequirement> getRequirements()
XModule
getRequirements
in interface XModule
public List<XRequireBundleRequirement> getBundleRequirements()
XModule
getBundleRequirements
in interface XModule
public XBundleCapability getBundleCapability()
XModule
getBundleCapability
in interface XModule
public List<XPackageCapability> getPackageCapabilities()
XModule
getPackageCapabilities
in interface XModule
public List<XPackageRequirement> getPackageRequirements()
XModule
getPackageRequirements
in interface XModule
public List<XPackageRequirement> getDynamicPackageRequirements()
XModule
getDynamicPackageRequirements
in interface XModule
public XFragmentHostRequirement getHostRequirement()
XModule
getHostRequirement
in interface XModule
public boolean isFragment()
XModule
isFragment
in interface XModule
public List<String> getBundleClassPath()
XModule
getBundleClassPath
in interface XModule
public List<XWire> getWires()
XModule
protected void addWire(org.jboss.osgi.resolver.spi.AbstractWire wire)
public <T> T addAttachment(Class<T> clazz, T value)
XAttachmentSupport
addAttachment
in interface XAttachmentSupport
clazz
- key for the attachmentpublic <T> T getAttachment(Class<T> clazz)
XAttachmentSupport
getAttachment
in interface XAttachmentSupport
clazz
- key for the attachmentpublic <T> T removeAttachment(Class<T> clazz)
XAttachmentSupport
removeAttachment
in interface XAttachmentSupport
clazz
- key for the attachmentpublic StringBuffer toLongString(StringBuffer buffer)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.