|
OSGi™ Core Release 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ConsumerType public interface Capability
A capability that has been declared from a Resource
.
Instances of this type must be effectively immutable. That is, for a given instance of this interface, the methods defined by this interface must always return the same result.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares this Capability to another Capability . |
Map<String,Object> |
getAttributes()
Returns the attributes of this capability. |
Map<String,String> |
getDirectives()
Returns the directives of this capability. |
String |
getNamespace()
Returns the namespace of this capability. |
Resource |
getResource()
Returns the resource declaring this capability. |
int |
hashCode()
Returns the hashCode of this Capability . |
Method Detail |
---|
String getNamespace()
Map<String,String> getDirectives()
Map<String,Object> getAttributes()
Resource getResource()
boolean equals(Object obj)
Capability
to another Capability
.
This Capability
is equal to another Capability
if they
have the same namespace, directives and attributes and are declared by
the same resource.
equals
in class Object
obj
- The object to compare against this Capability
.
true
if this Capability
is equal to the other
object; false
otherwise.int hashCode()
Capability
.
hashCode
in class Object
Capability
.
|
OSGi™ Core Release 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |