Closeable instances wihtout throwing
an exception.true.ClassLoader which accesses the given collection of
plugins.base class.PluginSource from the configured URLs.TinyPlugz.TinyPlugz.dispose(): Calls close if the Classloader returned by TinyPlugz.getClassLoader() is an
instance of Closeable.TinyPlugz.getFirstService(Class) building upon
result of TinyPlugz.getServices(Class).TinyPlugz.getResource(String) building upon
result of TinyPlugz.getClassLoader().TinyPlugz.getResources(String) building upon
result of TinyPlugz.getClassLoader().TinyPlugz.getService(Class) building upon result
of TinyPlugz.getServices(Class).TinyPlugz.runMain(String, String[]).TinyPlugz instance using the configured
values.TinyPlugz instance using the configured
values.undeploy to release resources.Iterator and Enumeration.DeployListener to be notified right after this instance
has been deployed by the TinyPlugzConfigurator class.TinyPlugz
implementation to use.TinyPlugz is deployed, the context ClassLoader is exchanged
for TinyPlugz's Classloader.ServiceLoader
capabilities.ServiceLoader
capabilities.ServiceLoader
capabilities.TinyPlugz.getInstance().Iterator of all implementors of the given service
provider interface.TinyPlugzConfigurator
before deployment.TinyPlugz.PluginSourceBuilder.Closeable and logs any error that occurs.Closeables by calling
safeClose(Closeable) for each element in the array.Closeables by calling
safeClose(Closeable) for each element returned by the Iterable.ExchangeClassLoader.close() throws an exception if it detects that the
context Classloader has been exchanged by a 3rd party.TinyPlugz instance which uses the current thread's
context Classloader as parent Classloader.TinyPlugz instance which uses the Classloader which
loaded the TinyPlugzConfigurator class as parent Classloader.TinyPlugz instance which uses the given Classloader as
parent Classloader.true.true and throws a
custom exception if not.ServiceLoader and
URLClassLoader classes.TinyPlugz instance.TinyPlugzContextServlet.init(ServletConfig)
, TinyPlugzContextServlet.service(ServletRequest, ServletResponse) and TinyPlugzContextServlet.destroy())
in the scope of the TinyPlugz Classloader as context Classloader.TinyPlugz instance and calls its
TinyPlugz.dispose() method.ExchangeClassLoader.close() is called.PluginSourceBuilder via the given consumer for
adding plugins which should be deployed.TinyPlugz.initialize(PluginSource, ClassLoader, Map) .TinyPlugz.initialize(PluginSource, ClassLoader, Map) .system properties available
in the map passed to
TinyPlugz.initialize(PluginSource, ClassLoader, Map).ElementIterator.ElementIterator.Copyright © 2014–2015. All rights reserved.