|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.resolver.spi.AbstractModule
public class AbstractModule
The abstract implementation of an XModule.
This is the resolver representation of a Bundle.
| Method Summary | ||
|---|---|---|
|
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)
|
|
|
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. |
|
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 |
|
|
removeAttachment(Class<T> clazz)
Remove an attached object for a given key |
|
StringBuffer |
toLongString(StringBuffer buffer)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.osgi.resolver.XElement |
|---|
getName |
| Method Detail |
|---|
public XResolver getResolver()
XModule
getResolver in interface XModulepublic XModuleIdentity getModuleId()
XModule
getModuleId in interface XModulepublic Version getVersion()
XModule
getVersion in interface XModulepublic String getModuleActivator()
XModule
getModuleActivator in interface XModulepublic boolean isResolved()
XModule
isResolved in interface XModulepublic List<XCapability> getCapabilities()
XModule
getCapabilities in interface XModulepublic List<XRequirement> getRequirements()
XModule
getRequirements in interface XModulepublic List<XRequireBundleRequirement> getBundleRequirements()
XModule
getBundleRequirements in interface XModulepublic XBundleCapability getBundleCapability()
XModule
getBundleCapability in interface XModulepublic List<XPackageCapability> getPackageCapabilities()
XModule
getPackageCapabilities in interface XModulepublic List<XPackageRequirement> getPackageRequirements()
XModule
getPackageRequirements in interface XModulepublic List<XPackageRequirement> getDynamicPackageRequirements()
XModule
getDynamicPackageRequirements in interface XModulepublic XFragmentHostRequirement getHostRequirement()
XModule
getHostRequirement in interface XModulepublic boolean isFragment()
XModule
isFragment in interface XModulepublic List<String> getBundleClassPath()
XModule
getBundleClassPath in interface XModulepublic List<XWire> getWires()
XModule
getWires in interface XModuleprotected void addWire(org.jboss.osgi.resolver.spi.AbstractWire wire)
public <T> T addAttachment(Class<T> clazz,
T value)
XAttachmentSupport
addAttachment in interface XAttachmentSupportclazz - key for the attachment
public <T> T getAttachment(Class<T> clazz)
XAttachmentSupport
getAttachment in interface XAttachmentSupportclazz - key for the attachment
public <T> T removeAttachment(Class<T> clazz)
XAttachmentSupport
removeAttachment in interface XAttachmentSupportclazz - key for the attachment
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic StringBuffer toLongString(StringBuffer buffer)
public String toString()
toString in class Objectpublic String getName()
XElement
getName in interface XElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||