|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XResourceBuilder
A builder for resources.
| Field Summary | |
|---|---|
static Map<String,Object> |
EMPTY_ATTRIBUTES
|
static Map<String,String> |
EMPTY_DIRECTIVES
|
| Field Detail |
|---|
static final Map<String,Object> EMPTY_ATTRIBUTES
static final Map<String,String> EMPTY_DIRECTIVES
| Method Detail |
|---|
XResourceBuilder loadFrom(OSGiMetaData metadata)
throws ResourceBuilderException
metadata - The OSGi metadata
ResourceBuilderException
XResourceBuilder loadFrom(org.jboss.modules.Module module)
throws ResourceBuilderException
module - The module
ResourceBuilderException
XIdentityCapability addIdentityCapability(String symbolicName,
Version version,
String type,
Map<String,Object> atts,
Map<String,String> dirs)
symbolicName - The resource symbolic nameversion - The resource versiontype - The resource typeatts - The attributesdirs - The directives
XBundleRequirement addBundleRequirement(String symbolicName,
Map<String,Object> atts,
Map<String,String> dirs)
symbolicName - The bundle symbolic nameatts - The attributesdirs - The directives
XBundleCapability addBundleCapability(String symbolicName,
Version version,
Map<String,Object> atts,
Map<String,String> dirs)
symbolicName - The resource symbolic nameversion - The resource versionatts - The attributesdirs - The directives
XHostCapability addHostCapability(String symbolicName,
Version version,
Map<String,Object> atts,
Map<String,String> dirs)
symbolicName - The resource symbolic nameversion - The resource versionatts - The attributesdirs - The directives
XHostRequirement addHostRequirement(String symbolicName,
Map<String,Object> atts,
Map<String,String> dirs)
symbolicName - The bundle symbolic nameatts - The attributesdirs - The directives
XPackageCapability addPackageCapability(String name,
Map<String,Object> atts,
Map<String,String> dirs)
Constants.EXPORT_PACKAGE capability
name - The package nameatts - The attributesdirs - The directives
XPackageRequirement addPackageRequirement(String name,
Map<String,Object> atts,
Map<String,String> dirs)
Constants.IMPORT_PACKAGE requirement
name - The package nameatts - The attributesdirs - The directives
XPackageRequirement addDynamicPackageRequirement(String name,
Map<String,Object> atts,
Map<String,String> dirs)
Constants.DYNAMICIMPORT_PACKAGE requirement
name - The package nameatts - The attributes
XCapability addGenericCapability(String namespace,
Map<String,Object> atts,
Map<String,String> dirs)
Capability
namespace - The namespaceatts - The attributesdirs - The directives
XRequirement addGenericRequirement(String namespace,
Map<String,Object> atts,
Map<String,String> dirs)
Requirement
namespace - The namespaceatts - The attributesdirs - The directivesXResource getResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||