org.apache.aries.application.resolver.obr.impl
Class OBRCapability

java.lang.Object
  extended by org.apache.aries.application.resolver.obr.impl.OBRCapability
All Implemented Interfaces:
org.apache.felix.bundlerepository.Capability

public class OBRCapability
extends Object
implements org.apache.felix.bundlerepository.Capability

Common code for handling OBR Capabilities.


Field Summary
 
Fields inherited from interface org.apache.felix.bundlerepository.Capability
BUNDLE, EXECUTIONENVIRONMENT, FRAGMENT, PACKAGE, SERVICE
 
Constructor Summary
OBRCapability(org.apache.aries.application.modelling.Provider provider, org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin)
          Construct a Capability specifying the OBR name to use.
 
Method Summary
 String getName()
           
 org.apache.felix.bundlerepository.Property[] getProperties()
           
 Map getPropertiesAsMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBRCapability

public OBRCapability(org.apache.aries.application.modelling.Provider provider,
                     org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin)
Construct a Capability specifying the OBR name to use.

Parameters:
type - the value to be used for the Capability name in OBR.
Method Detail

getName

public String getName()
Specified by:
getName in interface org.apache.felix.bundlerepository.Capability

getProperties

public org.apache.felix.bundlerepository.Property[] getProperties()
Specified by:
getProperties in interface org.apache.felix.bundlerepository.Capability

getPropertiesAsMap

public Map getPropertiesAsMap()
Specified by:
getPropertiesAsMap in interface org.apache.felix.bundlerepository.Capability


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.