RhqFacade methods.InvocationHandler to help the script users create proxies to actually call the
correct methods on RHQ.ScriptAssert.assertEquals(Object, Object) to which the numbers convert to correctly.scriptEngine's ENGINE_SCOPE
and for each of them generates a top-level function that is called the same name and accepts the same
parameters.ClassPool.getDefault() method that only ever returns a single instance of the pool, this
factory may return different instances depending on the context classloader of the current thread.InterfaceSimplifier.simplify(Class) method (i.e.RhqFacade.getScriptingAPI() method that returns objects with modified signatures
meant to be used by the scripting environment, this method provides the access to the "raw"
remote API interface implementation backed by this RHQ facade implementation.RhqManager enum which are then proxied
using this instance.#getScriptEngine(String, PackageFinder, StandardBindings, ScriptSourceProvider...) method
but additionally applies a security wrapper on the returned script engine so that the scripts execute
with the provided java permissions.engine scope
of the provided script engine.ScriptEngineFactory can generate indirection methods that create global functions
that have the same name and params as methods of certain objects that actually just call the
method on the objects.RhqManager.remote() method insteadRhqManagers.remote() method insteadRhqManager instead.AssertionError.ScriptContext#ENGINE_SCOPE of the
script engines.filename.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.