Package | Description |
---|---|
org.jboss.modules |
The primary JBoss Modules API.
|
Modifier and Type | Method | Description |
---|---|---|
ModuleSpec.Builder |
ModuleSpec.Builder.addDependency(DependencySpec dependencySpec) |
Add a dependency specification.
|
ModuleSpec.Builder |
ModuleSpec.Builder.addProperty(String name,
String value) |
Add a property to this module specification.
|
ModuleSpec.Builder |
ModuleSpec.Builder.addProvide(String serviceTypeName,
String serviceImplClassName) |
Declare that this module provides a service with the given type name with the implementation class with
the given class name.
|
ModuleSpec.Builder |
ModuleSpec.Builder.addResourceRoot(ResourceLoaderSpec resourceLoader) |
Add a local resource root, from which this module will load class definitions and resources.
|
static ModuleSpec.Builder |
ModuleSpec.build(String name) |
Get a builder for a new module specification.
|
static ModuleSpec.Builder |
ModuleSpec.build(ModuleIdentifier moduleIdentifier) |
Deprecated.
Use
ModuleSpec.build(String) instead. |
ModuleSpec.Builder |
ModuleSpec.Builder.setAssertionSetting(AssertionSetting assertionSetting) |
Set the default assertion setting for this module.
|
ModuleSpec.Builder |
ModuleSpec.Builder.setClassFileTransformer(ClassFileTransformer classFileTransformer) |
Deprecated.
Use
setClassFileTransformer(ClassTransformer) instead. |
ModuleSpec.Builder |
ModuleSpec.Builder.setClassFileTransformer(ClassTransformer transformer) |
Set the class file transformer function to use for this module.
|
ModuleSpec.Builder |
ModuleSpec.Builder.setFallbackLoader(LocalLoader fallbackLoader) |
Sets a "fall-back" loader that will attempt to load a class if all other mechanisms
are unsuccessful.
|
ModuleSpec.Builder |
ModuleSpec.Builder.setMainClass(String mainClass) |
Set the main class for this module, or
null for none. |
ModuleSpec.Builder |
ModuleSpec.Builder.setModuleClassLoaderFactory(ModuleClassLoaderFactory moduleClassLoaderFactory) |
Set the module class loader factory to use to create the module class loader for this module.
|
ModuleSpec.Builder |
ModuleSpec.Builder.setPermissionCollection(PermissionCollection permissionCollection) |
Set the permission collection for this module specification.
|
ModuleSpec.Builder |
ModuleSpec.Builder.setVersion(Version version) |
Set the version for this module specification, or
null to set no version for this module. |
Copyright © 2022 JBoss by Red Hat. All rights reserved.