org.jboss.osgi.resolver
Interface XAttributeSupport

All Known Subinterfaces:
XBundleCapability, XCapability, XFragmentHostRequirement, XPackageCapability, XPackageRequirement, XRequireBundleRequirement, XRequirement
All Known Implementing Classes:
AbstractPackageRequirement

public interface XAttributeSupport

Adds support for attributes

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

Method Summary
 Object getAttribute(String key)
          Get the value of the given attribute
 Map<String,Object> getAttributes()
          Get the attributes
 

Method Detail

getAttributes

Map<String,Object> getAttributes()
Get the attributes


getAttribute

Object getAttribute(String key)
Get the value of the given attribute

Returns:
null if no such attribute is associated with this capability


Copyright © 2010. All Rights Reserved.