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
 boolean isFragment()
          True if this resource is a fragment
 boolean isMutable()
          True if the resource is mutable
 void makeImmutable()
          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


makeImmutable

void makeImmutable()
Make the resource immutable



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