Class RegistryHostObject
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject
-
- org.wso2.carbon.mashup.javascript.hostobjects.registry.RegistryHostObject
-
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable
public class RegistryHostObject extends org.mozilla.javascript.ScriptableObjectThis is a JavaScript Rhino host object aimed to provide a set of registry specific utility functions to the javascript service developers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistryHostObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()Type to be used for this object inside the javascript.static org.mozilla.javascript.ScriptablejsConstructor(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function ctorObj, boolean inNewExpr)static org.mozilla.javascript.ScriptablejsFunction_get(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)static org.mozilla.javascript.ScriptablejsFunction_newCollection(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)static org.mozilla.javascript.ScriptablejsFunction_newResource(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)static StringjsFunction_put(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)static voidjsFunction_remove(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)static booleanjsFunction_resourceExists(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj)-
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
-
-
-
-
Method Detail
-
jsConstructor
public static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx, Object[] args, org.mozilla.javascript.Function ctorObj, boolean inNewExpr) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
getClassName
public String getClassName()
Type to be used for this object inside the javascript.- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
jsFunction_remove
public static void jsFunction_remove(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
jsFunction_get
public static org.mozilla.javascript.Scriptable jsFunction_get(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
jsFunction_put
public static String jsFunction_put(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException
- Throws:
org.wso2.carbon.CarbonException
-
jsFunction_newCollection
public static org.mozilla.javascript.Scriptable jsFunction_newCollection(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
jsFunction_newResource
public static org.mozilla.javascript.Scriptable jsFunction_newResource(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
jsFunction_resourceExists
public static boolean jsFunction_resourceExists(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException- Throws:
org.wso2.carbon.CarbonException
-
-