public class ScellApiEntryPoint extends Object
This class should be called at first to init the API and get the IScellApiResolver
for further work:
ScellApiEntryPoint.getApiResolverAsync().thenAccept(scellApiResolver -> {
// ...
});
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync()
Initialises the library and returns the API entry point resolver
|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(ClassLoader classLoader)
Initialises the library and returns the API entry point resolver with the custom class loader
|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(ILoggerFactory loggerFactory)
Initialises the library and returns the API entry point resolver with the custom logger factory
|
static CompletableFuture<IScellApiResolver> |
getApiResolverAsync(ILoggerFactory loggerFactory,
ClassLoader classLoader)
Initialises the library and returns the API entry point resolver with the custom logger and class loader
|
public static CompletableFuture<IScellApiResolver> getApiResolverAsync()
API implementation jar in the classpath is required
public static CompletableFuture<IScellApiResolver> getApiResolverAsync(ILoggerFactory loggerFactory)
API implementation jar in the classpath is required
loggerFactory
- user custom ILoggerFactory
public static CompletableFuture<IScellApiResolver> getApiResolverAsync(ClassLoader classLoader)
API implementation jar in the classpath is required
classLoader
- a user custom ClassLoader
used to have a possibility to write different sandbox plugins based on SCell componentpublic static CompletableFuture<IScellApiResolver> getApiResolverAsync(ILoggerFactory loggerFactory, ClassLoader classLoader)
API implementation jar in the classpath is required
loggerFactory
- a user custom ILoggerFactory
classLoader
- a user custom ClassLoader
used to have a possibility to write different sandbox plugins based on SCell componentCopyright © 2024. All rights reserved.