Example usage for jdk.nashorn.api.scripting AbstractJSObject subclass-usage

List of usage examples for jdk.nashorn.api.scripting AbstractJSObject subclass-usage

Introduction

In this page you can find the example usage for jdk.nashorn.api.scripting AbstractJSObject subclass-usage.

Usage

From source file BufferArray.java

/**
 * Simple class demonstrating pluggable script object
 * implementation. By implementing jdk.nashorn.api.scripting.JSObject
 * (or extending AbstractJSObject which implements it), you
 * can supply a friendly script object. Nashorn will call
 * 'magic' methods on such a class on 'obj.foo, obj.foo = 33,

From source file com.eas.designer.application.module.EntityJSObject.java

/**
 *
 * @author mg
 */
public class EntityJSObject extends AbstractJSObject {

From source file com.eas.designer.application.module.InstanceJSObject.java

/**
 *
 * @author mg
 */
public class InstanceJSObject extends AbstractJSObject {

From source file com.eas.designer.application.module.ModelJSObject.java

/**
 *
 * @author mg
 */
public class ModelJSObject extends AbstractJSObject {

From source file com.eas.server.scripts.ModulesJSFacade.java

/**
 *
 * @author mg
 */
public class ModulesJSFacade extends AbstractJSObject {

From source file com.github.mjeanroy.springmvc.view.mustache.nashorn.NashornPartialsObject.java

/**
 * Implementation of dynamic partial object.
 *
 * Instance of this object will be used by nashorn engine to get
 * template values.
 *

From source file com.rhox.natives.win32.ComObject.java

/**
 * A Com-Node in a readable hierachy of values.<br/>
 * Note: This class is not threadsafe (which should be the default for most
 * com-objects anyway).
 */
@SuppressWarnings("restriction")

From source file com.sambi.app.rest.services.AuthUser.java

@JsonRootName("user")
public class AuthUser extends AbstractJSObject {

    private static final long serialVersionUID = -8710173288215755581L;

    @JsonProperty("firstName")

From source file de.axelfaust.alfresco.nashorn.repo.processor.NashornScriptModelAwareContainer.java

/**
 * @author Axel Faust
 */
@SuppressWarnings({ "restriction", "resource" })
public class NashornScriptModelAwareContainer extends AbstractJSObject {

From source file de.axelfaust.alfresco.nashorn.repo.utils.NativeLogger.java

/**
 * This class provides a wrapper around specific {@link Logger SLF4J logger} instances for scripts to interact with for logging purposes. A
 * "script-only" approach was previously tried but found to result in too much overhead during call linking, and generally required to much
 * complexity trying to keep log overhead down through various means of caching (e.g. of {@link Logger#isTraceEnabled() isTraceEnabled}
 * results).
 *