public class AbstractEnvironment extends Object implements XEnvironment
Environment.ALL_IDENTITY_TYPES| Constructor and Description |
|---|
AbstractEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.resource.Wiring |
createWiring(XResource res,
List<org.osgi.resource.Wire> required,
List<org.osgi.resource.Wire> provided) |
List<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement req) |
Collection<XResource> |
getResources(String... types) |
Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> |
getWirings() |
void |
installResources(XResource... resources) |
Long |
nextResourceIdentifier(Long value,
String symbolicName) |
void |
uninstallResources(XResource... resources) |
Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> |
updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> wiremap) |
public Long nextResourceIdentifier(Long value, String symbolicName)
nextResourceIdentifier in interface XEnvironmentpublic void installResources(XResource... resources)
installResources in interface XEnvironmentpublic void uninstallResources(XResource... resources)
uninstallResources in interface XEnvironmentpublic Collection<XResource> getResources(String... types)
getResources in interface XEnvironmentpublic List<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
findProviders in interface XEnvironmentpublic Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> wiremap)
updateWiring in interface XEnvironmentpublic org.osgi.resource.Wiring createWiring(XResource res, List<org.osgi.resource.Wire> required, List<org.osgi.resource.Wire> provided)
createWiring in interface XEnvironmentpublic Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()
getWirings in interface XEnvironmentCopyright © 2013 JBoss by Red Hat. All Rights Reserved.