public class SharedClassLoaderFactory extends Object
Modifier and Type | Method and Description |
---|---|
URLClassLoader |
getEnvironmentClassLoader(String environmentName)
Get the shared class loader loader for a specific environment.
|
static SharedClassLoaderFactory |
getInstance()
Get the instance of the SharedClassLoaderFactory.
|
URLClassLoader |
getSharedClassLoader()
Get the shared class loader for the complete deployment.
|
void |
init(ClassloadingConfiguration classloadingConfig)
Initialize the shared class loader and environment class loaders for each defined environments
in the first webapp deployment.
|
public static SharedClassLoaderFactory getInstance()
public void init(ClassloadingConfiguration classloadingConfig)
classloadingConfig
- Class loading configuration.public URLClassLoader getSharedClassLoader()
public URLClassLoader getEnvironmentClassLoader(String environmentName)
environmentName
- Environment Name.Copyright © 2021 WSO2. All rights reserved.