public final class ScellApiEntryPoint extends Object
This class should be called at first to init the API and get the IScellApiResolver
for further work:
ScellApiEntryPoint.getApiResolverAsync(license).thenAccept(scellApiResolver -> {
// ...
});
Modifier and Type | Class and Description |
---|---|
static class |
ScellApiEntryPoint.Data
SCell library init parameters
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(InputStream licenseText)
Initialises the library and returns the API entry point resolver
|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(InputStream licenseContent,
ClassLoader classLoader)
Initialises the library and returns the API entry point resolver with the custom class loader
|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(ScellApiEntryPoint.Data initData) |
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(String licenseFilePath)
Initialises the library and returns the API entry point resolver
|
public static CompletableFuture<IScellApiResolver> getApiResolverAsync(String licenseFilePath)
API implementation jar in the classpath is required
licenseFilePath
- SCell license textpublic static CompletableFuture<IScellApiResolver> getApiResolverAsync(InputStream licenseText)
API implementation jar in the classpath is required
licenseText
- SCell license textpublic static CompletableFuture<IScellApiResolver> getApiResolverAsync(InputStream licenseContent, ClassLoader classLoader)
API implementation jar in the classpath is required
licenseContent
- SCell license textclassLoader
- a user custom ClassLoader
used to have a possibility
to write different sandbox plugins based on SCell componentpublic static CompletableFuture<IScellApiResolver> getApiResolverAsync(ScellApiEntryPoint.Data initData)
Copyright © 2025. All rights reserved.