org.jboss.osgi.resolver
Interface XEnvironment

All Known Implementing Classes:
AbstractEnvironment

public interface XEnvironment

An environment that hosts the resources applicable for resource resolution.

Since:
02-Jul-2010
Author:
thomas.diesler@jboss.com

Field Summary
static String[] ALL_IDENTITY_TYPES
           
 
Method Summary
 org.osgi.resource.Wiring createWiring(XResource res, List<org.osgi.resource.Wire> required, List<org.osgi.resource.Wire> provided)
           
 List<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
           
 Collection<XResource> getResources(String... types)
           
 Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()
           
 void installResources(XResource... resources)
           
 Long nextResourceIdentifier(Long value, String symbolicName)
           
 void refreshResources(XResource... resources)
           
 void uninstallResources(XResource... resources)
           
 Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> delta)
           
 

Field Detail

ALL_IDENTITY_TYPES

static final String[] ALL_IDENTITY_TYPES
Method Detail

installResources

void installResources(XResource... resources)

uninstallResources

void uninstallResources(XResource... resources)

refreshResources

void refreshResources(XResource... resources)

getResources

Collection<XResource> getResources(String... types)

nextResourceIdentifier

Long nextResourceIdentifier(Long value,
                            String symbolicName)

findProviders

List<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)

updateWiring

Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> updateWiring(Map<org.osgi.resource.Resource,List<org.osgi.resource.Wire>> delta)

createWiring

org.osgi.resource.Wiring createWiring(XResource res,
                                      List<org.osgi.resource.Wire> required,
                                      List<org.osgi.resource.Wire> provided)

getWirings

Map<org.osgi.resource.Resource,org.osgi.resource.Wiring> getWirings()


Copyright © 2012 JBoss by Red Hat. All Rights Reserved.