Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.jscript
Class BaseScopableProcessorExtension
java.lang.Object
  org.alfresco.repo.processor.BaseProcessorExtension
      org.alfresco.repo.jscript.BaseScopableProcessorExtension
All Implemented Interfaces:
org.alfresco.repo.jscript.Scopeable, org.alfresco.processor.ProcessorExtension

@org.alfresco.api.AlfrescoPublicApi
public class BaseScopableProcessorExtension
extends BaseProcessorExtension
implements org.alfresco.repo.jscript.Scopeable
Abstract base class for a script implementation that requires a script execution scope. The scope is local to the currently executing script and therefore a ThreadLocal is required.
Author:
Kevin Roast

Constructor Summary
BaseScopableProcessorExtension()
Method Summary
org.mozilla.javascript.Scriptable
getScope()
void
setScope(org.mozilla.javascript.Scriptable scope)
          Set the Scriptable global scope
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
BaseScopableProcessorExtension
public BaseScopableProcessorExtension()
Method Detail
setScope
public void setScope(org.mozilla.javascript.Scriptable scope)
Set the Scriptable global scope
Specified by:
setScope in interface org.alfresco.repo.jscript.Scopeable
Parameters:
scope - relative global scope

getScope
public org.mozilla.javascript.Scriptable getScope()
Returns:
script global scope

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.