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 XEnvironment
public void installResources(XResource... resources)
installResources
in interface XEnvironment
public void uninstallResources(XResource... resources)
uninstallResources
in interface XEnvironment
public XResource getResourceById(long resId)
getResourceById
in interface XEnvironment
public Iterator<XResource> getResources(Collection<String> types)
getResources
in interface XEnvironment
public List<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
findProviders
in interface XEnvironment
public Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> wiremap)
updateWiring
in interface XEnvironment
public Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()
getWirings
in interface XEnvironment
Copyright © 2013 JBoss by Red Hat. All rights reserved.