org.jboss.osgi.resolver.spi
Class AttributeSupporter

java.lang.Object
  extended by org.jboss.osgi.resolver.spi.AttributeSupporter
All Implemented Interfaces:
XAttributeSupport

public class AttributeSupporter
extends Object
implements XAttributeSupport

An implementation of XAttributeSupport.

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
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttribute

public Object getAttribute(String key)
Description copied from interface: XAttributeSupport
Get the value of the given attribute

Specified by:
getAttribute in interface XAttributeSupport
Returns:
null if no such attribute is associated with this capability

getAttributes

public Map<String,Object> getAttributes()
Description copied from interface: XAttributeSupport
Get the attributes

Specified by:
getAttributes in interface XAttributeSupport

toString

public String toString()
Overrides:
toString in class Object


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