aQute.bnd.osgi.resource
Class PersistentResource.RC

java.lang.Object
  extended by aQute.bnd.osgi.resource.PersistentResource.RC
All Implemented Interfaces:
Capability, Requirement
Enclosing class:
PersistentResource

Deprecated.

@Deprecated
public class PersistentResource.RC
extends Object
implements Requirement, Capability


Constructor Summary
PersistentResource.RC(PersistentResource.RCData data, String ns)
          Deprecated.  
 
Method Summary
 Map<String,Object> getAttributes()
          Deprecated. Returns the attributes of this requirement.
 Map<String,String> getDirectives()
          Deprecated. Returns the directives of this requirement.
 String getNamespace()
          Deprecated. Returns the namespace of this requirement.
 Resource getResource()
          Deprecated. Returns the resource declaring this requirement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.osgi.resource.Requirement
equals, hashCode
 
Methods inherited from interface org.osgi.resource.Capability
equals, hashCode
 

Constructor Detail

PersistentResource.RC

public PersistentResource.RC(PersistentResource.RCData data,
                             String ns)
Deprecated. 
Method Detail

getNamespace

public String getNamespace()
Deprecated. 
Description copied from interface: Requirement
Returns the namespace of this requirement.

Specified by:
getNamespace in interface Capability
Specified by:
getNamespace in interface Requirement
Returns:
The namespace of this requirement.

getResource

public Resource getResource()
Deprecated. 
Description copied from interface: Requirement
Returns the resource declaring this requirement.

Specified by:
getResource in interface Capability
Specified by:
getResource in interface Requirement
Returns:
The resource declaring this requirement. This can be null if this requirement is synthesized.

getAttributes

public Map<String,Object> getAttributes()
Deprecated. 
Description copied from interface: Requirement
Returns the attributes of this requirement.

Requirement attributes have no specified semantics and are considered extra user defined information.

Specified by:
getAttributes in interface Capability
Specified by:
getAttributes in interface Requirement
Returns:
An unmodifiable map of attribute names to attribute values for this requirement, or an empty map if this requirement has no attributes.

getDirectives

public Map<String,String> getDirectives()
Deprecated. 
Description copied from interface: Requirement
Returns the directives of this requirement.

Specified by:
getDirectives in interface Capability
Specified by:
getDirectives in interface Requirement
Returns:
An unmodifiable map of directive names to directive values for this requirement, or an empty map if this requirement has no directives.


Copyright © 2014 aQute SARL. All rights reserved.