COMPONENT - The type of the component implementation.CAPABILITY - The type of the Capability that this requirement accepts.public class ComponentRequirementImpl<COMPONENT,CAPABILITY extends org.osgi.resource.Capability> extends Object implements org.everit.osgi.ecm.component.resource.ComponentRequirement<COMPONENT,CAPABILITY>
Requirement implementation for ECM based components.| Constructor and Description |
|---|
ComponentRequirementImpl(String requirementId,
String namespace,
ComponentRevisionImpl<COMPONENT> resource,
Map<String,String> directives,
Map<String,Object> attributes,
Class<CAPABILITY> capabilityType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<CAPABILITY> |
getAcceptedCapabilityType() |
Map<String,Object> |
getAttributes() |
Map<String,String> |
getDirectives() |
String |
getNamespace() |
String |
getRequirementId() |
org.everit.osgi.ecm.component.resource.ComponentRevision<COMPONENT> |
getResource() |
boolean |
isSatisfied() |
public Class<CAPABILITY> getAcceptedCapabilityType()
getAcceptedCapabilityType in interface org.everit.osgi.ecm.component.resource.ComponentRequirement<COMPONENT,CAPABILITY extends org.osgi.resource.Capability>public Map<String,Object> getAttributes()
getAttributes in interface org.osgi.resource.Requirementpublic Map<String,String> getDirectives()
getDirectives in interface org.osgi.resource.Requirementpublic String getNamespace()
getNamespace in interface org.osgi.resource.Requirementpublic String getRequirementId()
getRequirementId in interface org.everit.osgi.ecm.component.resource.ComponentRequirement<COMPONENT,CAPABILITY extends org.osgi.resource.Capability>public org.everit.osgi.ecm.component.resource.ComponentRevision<COMPONENT> getResource()
getResource in interface org.everit.osgi.ecm.component.resource.ComponentRequirement<COMPONENT,CAPABILITY extends org.osgi.resource.Capability>getResource in interface org.osgi.resource.Requirementpublic boolean isSatisfied()
isSatisfied in interface org.everit.osgi.ecm.component.resource.ComponentRequirement<COMPONENT,CAPABILITY extends org.osgi.resource.Capability>Copyright © 2011–2015 Everit Kft.. All rights reserved.