|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.resolver.spi.AbstractElement
org.jboss.osgi.resolver.spi.AbstractResource
public class AbstractResource
The abstract implementation of an XResource.
| Constructor Summary | |
|---|---|
AbstractResource()
|
|
| Method Summary | |
|---|---|
protected void |
addCapability(org.osgi.resource.Capability cap)
|
protected void |
addRequirement(org.osgi.resource.Requirement req)
|
void |
ensureImmutable()
|
void |
ensureMutable()
|
List<org.osgi.resource.Capability> |
getCapabilities(String namespace)
|
XIdentityCapability |
getIdentityCapability()
Get the identity capability for this resource |
List<org.osgi.resource.Requirement> |
getRequirements(String namespace)
|
XWiringSupport |
getWiringSupport()
Get the XWiringSupport associated with this resource |
boolean |
isFragment()
True if this resource is a fragment |
boolean |
isMutable()
True if the resource is mutable |
void |
setMutable(boolean flag)
Make the resource immutable |
String |
toString()
|
void |
validate()
Validate the resource |
| Methods inherited from class org.jboss.osgi.resolver.spi.AbstractElement |
|---|
addAttachment, getAttachment, removeAttachment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.osgi.resolver.XAttachmentSupport |
|---|
addAttachment, getAttachment, removeAttachment |
| Methods inherited from interface org.osgi.resource.Resource |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public AbstractResource()
| Method Detail |
|---|
protected void addCapability(org.osgi.resource.Capability cap)
protected void addRequirement(org.osgi.resource.Requirement req)
public void setMutable(boolean flag)
XResource
setMutable in interface XResourcepublic boolean isMutable()
XResource
isMutable in interface XResourcepublic void ensureImmutable()
public void ensureMutable()
public XWiringSupport getWiringSupport()
XResourceXWiringSupport associated with this resource
getWiringSupport in interface XResourcepublic void validate()
XResource
validate in interface XResourcepublic List<org.osgi.resource.Capability> getCapabilities(String namespace)
getCapabilities in interface org.osgi.resource.Resourcepublic List<org.osgi.resource.Requirement> getRequirements(String namespace)
getRequirements in interface org.osgi.resource.Resourcepublic XIdentityCapability getIdentityCapability()
XResource
getIdentityCapability in interface XResourcepublic boolean isFragment()
XResource
isFragment in interface XResourcepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||