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
 Wiring createWiring(XResource res, List<Wire> required, List<Wire> provided)
           
 List<Capability> findProviders(Requirement req)
           
 Collection<XResource> getResources(String... types)
           
 Map<Resource,Wiring> getWirings()
           
 void installResources(XResource... resources)
           
 Long nextResourceIdentifier(Long value, String symbolicName)
           
 void refreshResources(XResource... resources)
           
 void uninstallResources(XResource... resources)
           
 Map<Resource,Wiring> updateWiring(Map<Resource,List<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<Capability> findProviders(Requirement req)

updateWiring

Map<Resource,Wiring> updateWiring(Map<Resource,List<Wire>> delta)

createWiring

Wiring createWiring(XResource res,
                    List<Wire> required,
                    List<Wire> provided)

getWirings

Map<Resource,Wiring> getWirings()


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