org.jboss.osgi.resolver.spi
Class AbstractEnvironment
java.lang.Object
org.jboss.osgi.resolver.spi.AbstractEnvironment
- All Implemented Interfaces:
- XEnvironment
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()
installResources
public void installResources(XResource... resources)
- Specified by:
installResources in interface XEnvironment
uninstallResources
public void uninstallResources(XResource... resources)
- Specified by:
uninstallResources in interface XEnvironment
refreshResources
public void refreshResources(XResource... resources)
- Specified by:
refreshResources in interface XEnvironment
getResources
public Collection<XResource> getResources(Set<String> types)
- Specified by:
getResources in interface XEnvironment
findProviders
public List<Capability> findProviders(Requirement req)
- Specified by:
findProviders in interface XEnvironment
updateWiring
public Map<Resource,Wiring> updateWiring(Map<Resource,List<Wire>> wiremap)
- Specified by:
updateWiring in interface XEnvironment
createWiring
protected Wiring createWiring(Resource res,
List<Wire> wires)
getResourceIndex
public Long getResourceIndex(XResource res)
- Specified by:
getResourceIndex in interface XEnvironment
getWirings
public Map<Resource,Wiring> getWirings()
- Specified by:
getWirings in interface XEnvironment
Copyright © 2012. All Rights Reserved.