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()
nextResourceIdentifier
public Long nextResourceIdentifier(Long value,
String symbolicName)
- Specified by:
nextResourceIdentifier in interface XEnvironment
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(String... types)
- Specified by:
getResources in interface XEnvironment
findProviders
public List<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
- Specified by:
findProviders in interface XEnvironment
updateWiring
public Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> wiremap)
- Specified by:
updateWiring in interface XEnvironment
createWiring
public org.osgi.resource.Wiring createWiring(XResource res,
List<org.osgi.resource.Wire> required,
List<org.osgi.resource.Wire> provided)
- Specified by:
createWiring in interface XEnvironment
getWirings
public Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()
- Specified by:
getWirings in interface XEnvironment
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.