You can also import previously exported answers from the Answer Transfer Tool. This will overwrite answers on this BSF app. Send us feedback or get support. Now BSF is in your hands. Now BSF is in your hands Take a tour of the app. In-App Bible Tap to view assigned Scripture as you answer lesson questions.
Frequently Asked Questions. Which devices run the BSF app? What if I can't find the BSF app in the app store? Does the BSF app require internet access? Are school program lessons supported?
Can I print my answers from the app? Yes, you can print your lesson answers, together with the questions for each lesson. Using the App on Multiple Devices. Are answers automatically "synced" between my devices?
How are lesson answers stored? Internet Access. What parts of the app require internet access? Is the internet required to access MyBSF? However BSF 3. Apache BSF 3. Information on where to obtain scripting languages for use with BSF is available on the Related Projects page. The following references describe the standard API javax. Java 1.
These can be used with any used with any implementation of the javax. There is also a command-line utility which can be used to run scripts in any language engine which supports JSR Note that Apache BSF does not contain any language engines; these have to be downloaded separately. Version 3. This is because many languages are now provided with their own factories. Also, having all the factories in a single jar can cause problems at run-time. The BSFManager exec , eval , and apply methods as well as their compile counterparts are wrappers over the equivalent methods presented by the BSFEngine interface.
If the programmer explicitly loads a scripting engine via loadScriptingEngine , they can use the exec or eval methods of the resulting BSFEngine as appropriate. In order to incorporate your own scripting language into BSF, you must first write a class implementing the BSFEngine interface for the language; examples are available in the BSF source distribution.
Usually, a scripting language author extends the BSFEngineImpl class, which implements BSFEngine , and only requires the scripting language author to implement the eval method.
However, the following methods specified by the BSFEngine interface are the most commonly implemented:. Once you have implemented the wrapper for your language engine, you instantiate a BSFManager in your application, and register your engine with it via the registerScriptingEngine method. Afterward, you may use your language within the application through the usual BSF semantics.
BSF provides a facility for running scripting languages itself. Simply running java org. Main will produce a help message, with instructions on how to run these scripts. Last Published: 17 Oct Version: 2. ApacheCon Apache Commons. Bean Scripting Framework Bean Scripting Framework BSF is a set of Java classes which provides scripting language support within Java applications, and access to Java objects and methods from scripting languages.
Installation BSF can be used standalone, as a class library, or as part of an application server. The most important methods within the BSFManager are: BSFManager - the BSFManager constructor eval - used to evaluate a script and return its value exec - used to execute a script loadScriptingEngine - used to return a BSFEngine for the desired scripting language registerBean - adds an object to BSF's object registry lookupBean - retrieves an object from BSF's object registry declareBean - creates an implicit object in the context of any loaded scripting language, which does not have to be accessed via lookupBean Other, less often used methods within the BSFManager are: apply - used to call anonymous functions compileExpr - used to compile an expression into a CodeBuffer object compileScript - similar to compile expression, used to compile scripts into CodeBuffer objects compileApply - similar to both of the above - used to compile anonymous functions into CodeBuffer objects For the curious, the CodeBuffer is a class provided by BSF for storing generated Java code.
0コメント