public class AbstractEnvironment extends Object implements XEnvironment, Cloneable
Environment.| Constructor and Description |
|---|
AbstractEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
XEnvironment |
clone() |
List<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement req) |
XResource |
getResourceById(long resId) |
Iterator<XResource> |
getResources(Collection<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 XEnvironment clone()
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 XResource getResourceById(long resId)
getResourceById in interface XEnvironmentpublic Iterator<XResource> getResources(Collection<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 Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()
getWirings in interface XEnvironmentCopyright © 2016 JBoss by Red Hat. All rights reserved.