org.jboss.osgi.resolver
Interface XResource

All Superinterfaces:
org.osgi.resource.Resource, XAttachmentSupport, XElement
All Known Subinterfaces:
XBundleRevision
All Known Implementing Classes:
AbstractBundleRevision, AbstractResource

public interface XResource
extends XElement, org.osgi.resource.Resource

An extension to Resource

Since:
02-Jul-2010
Author:
thomas.diesler@jboss.com

Method Summary
 XIdentityCapability getIdentityCapability()
          Get the identity capability for this resource
 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 mutable)
          Make the resource immutable
 void validate()
          Validate the resource
 
Methods inherited from interface org.jboss.osgi.resolver.XAttachmentSupport
addAttachment, getAttachment, removeAttachment
 
Methods inherited from interface org.osgi.resource.Resource
equals, getCapabilities, getRequirements, hashCode
 

Method Detail

getIdentityCapability

XIdentityCapability getIdentityCapability()
Get the identity capability for this resource


isFragment

boolean isFragment()
True if this resource is a fragment


validate

void validate()
Validate the resource


isMutable

boolean isMutable()
True if the resource is mutable


setMutable

void setMutable(boolean mutable)
Make the resource immutable


getWiringSupport

XWiringSupport getWiringSupport()
Get the XWiringSupport associated with this resource



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