| Package | Description |
|---|---|
| java.lang |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.lang.invoke | |
| java.lang.reflect |
Provides classes and interfaces for obtaining reflective
information about classes and objects.
|
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| org.apidesign.bck2brwsr.launcher | |
| org.apidesign.vm4brwsr |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
Class.getClassLoader()
Returns the class loader for the class.
|
ClassLoader |
Thread.getContextClassLoader()
Returns the context ClassLoader for this Thread.
|
ClassLoader |
ClassLoader.getParent()
Returns the parent class loader for delegation.
|
static ClassLoader |
ClassLoader.getSystemClassLoader()
Returns the system class loader for delegation.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
Class.forName(String name,
boolean initialize,
ClassLoader loader)
Returns the
Class object associated with the class or
interface with the given string name, using the given class loader. |
void |
Thread.setContextClassLoader(ClassLoader cl)
Sets the context ClassLoader for this Thread.
|
| Constructor and Description |
|---|
ClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for
delegation.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodType |
MethodType.fromMethodDescriptorString(String descriptor,
ClassLoader loader)
Finds or creates an instance of a method type, given the spelling of its bytecode descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
Proxy.getProxyClass(ClassLoader loader,
Class<?>... interfaces)
Returns the
java.lang.Class object for a proxy class
given a class loader and an array of interfaces. |
static Object |
Proxy.newProxyInstance(ClassLoader loader,
Class<?>[] interfaces,
InvocationHandler h)
Returns an instance of a proxy class for the specified interfaces
that dispatches method invocations to the specified invocation
handler.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ResourceBundle.clearCache(ClassLoader loader)
Removes all resource bundles from the cache that have been loaded
using the given class loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale locale,
ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName,
Locale targetLocale,
ClassLoader loader,
ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static <S> ServiceLoader<S> |
ServiceLoader.load(Class<S> service,
ClassLoader loader)
Creates a new service loader for the given service type and class
loader.
|
boolean |
ResourceBundle.Control.needsReload(String baseName,
Locale locale,
String format,
ClassLoader loader,
ResourceBundle bundle,
long loadTime)
Determines if the expired
bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria. |
ResourceBundle |
ResourceBundle.Control.newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
| Modifier and Type | Method and Description |
|---|---|
static Launcher |
Launcher.createBrowser(String cmd,
ClassLoader classes,
String startpage)
Creates launcher that is using external browser.
|
static Closeable |
Launcher.showDir(String brwsr,
File directory,
ClassLoader classes,
String startpage)
Starts an HTTP server which provides access to certain directory.
|
static Closeable |
Launcher.showURL(ClassLoader classes,
String startpage)
Starts an HTTP server which provides access to classes and resources
available in the
classes URL and shows a start page
available as getResource(java.lang.String) from the
provide classloader. |
static Closeable |
Launcher.showURL(String brwsr,
ClassLoader classes,
String startpage)
Starts an HTTP server which provides access to classes and resources
available in the
classes URL and shows a start page
available as getResource(java.lang.String) from the
provide classloader. |
| Modifier and Type | Method and Description |
|---|---|
static void |
Bck2Brwsr.generate(Appendable out,
ClassLoader loader,
String... classes)
Helper method to generate virtual machine from bytes served by a class loader.
|
Bck2Brwsr |
Bck2Brwsr.resources(ClassLoader loader)
A way to change the provider of additional resources (classes) for the
compiler by specifying classloader to use for loading them.
|
Bck2Brwsr |
Bck2Brwsr.resources(ClassLoader loader,
boolean ignoreBootClassPath)
A way to change the provider of additional resources (classes) for the
compiler by specifying classloader to use for loading them.
|
Copyright © 2021 API Design. All Rights Reserved.