|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.resolver.impl.HostedCapability
public class HostedCapability
| Constructor Summary | |
|---|---|
HostedCapability(Resource host,
Capability cap)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns the attributes of this capability. |
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Returns the directives of this capability. |
java.lang.String |
getNamespace()
Returns the name space of this capability. |
Capability |
getOriginalCapability()
|
Resource |
getResource()
Returns the resource declaring this capability. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HostedCapability(Resource host,
Capability cap)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Capability getOriginalCapability()
public Resource getResource()
Capability
getResource in interface Capabilitypublic java.lang.String getNamespace()
Capability
getNamespace in interface Capabilitypublic java.util.Map<java.lang.String,java.lang.String> getDirectives()
CapabilityOnly the following list of directives have specified semantics:
effective
uses
mandatory -
only recognized for the osgi.wiring.bundle and
osgi.wiring.package
name spaces.
exclude - only
recognized for the osgi.wiring.package name space.
include - only
recognized for the osgi.wiring.package name space.
getDirectives in interface Capabilitypublic java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Capability
getAttributes in interface Capabilitypublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||