org.jboss.osgi.resolver.spi
Class AbstractEnvironment
java.lang.Object
org.jboss.osgi.resolver.spi.AbstractEnvironment
- All Implemented Interfaces:
- XEnvironment, org.osgi.service.resolver.Environment
public class AbstractEnvironment
- extends Object
- implements XEnvironment
The abstract implementation of a Environment.
- Since:
- 02-Jul-2010
- Author:
- thomas.diesler@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEnvironment
public AbstractEnvironment()
getComparator
protected Comparator<org.osgi.framework.resource.Capability> getComparator()
installResources
public void installResources(org.osgi.framework.resource.Resource... resarr)
- Specified by:
installResources in interface XEnvironment
uninstallResources
public void uninstallResources(org.osgi.framework.resource.Resource... resarr)
- Specified by:
uninstallResources in interface XEnvironment
refreshResources
public void refreshResources(org.osgi.framework.resource.Resource... resarr)
- Specified by:
refreshResources in interface XEnvironment
getResources
public Collection<org.osgi.framework.resource.Resource> getResources(Set<String> types)
- Specified by:
getResources in interface XEnvironment
findProviders
public SortedSet<org.osgi.framework.resource.Capability> findProviders(org.osgi.framework.resource.Requirement req)
- Specified by:
findProviders in interface org.osgi.service.resolver.Environment
updateWiring
public Map<org.osgi.framework.resource.Resource,org.osgi.framework.resource.Wiring> updateWiring(Map<org.osgi.framework.resource.Resource,List<org.osgi.framework.resource.Wire>> wiremap)
- Specified by:
updateWiring in interface XEnvironment
createWiring
public org.osgi.framework.resource.Wiring createWiring(org.osgi.framework.resource.Resource res,
List<org.osgi.framework.resource.Wire> wires)
- Specified by:
createWiring in interface XEnvironment
isEffective
public boolean isEffective(org.osgi.framework.resource.Requirement req)
- Specified by:
isEffective in interface org.osgi.service.resolver.Environment
getWirings
public Map<org.osgi.framework.resource.Resource,org.osgi.framework.resource.Wiring> getWirings()
- Specified by:
getWirings in interface org.osgi.service.resolver.Environment
getResourceIndex
public Long getResourceIndex(org.osgi.framework.resource.Resource res)
- Specified by:
getResourceIndex in interface XEnvironment
Copyright © 2012. All Rights Reserved.