public class ScriptingManager extends GeneratedScriptingManager
Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreatorDEFAULT_INITIAL_ATTRIBUTES| Constructor and Description |
|---|
ScriptingManager()
Never call the constructor of any manager directly, call getInstance() You can place your business logic here -
like registering a jalo session listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createEssentialData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
Implement this method to create initial objects.
|
void |
createProjectData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
Implement this method to create data that is used in your project.
|
void |
destroy()
Use this method as a callback when the manager instance is being destroyed (this happens before system
initialization, at redeployment or if you shutdown your VM).
|
static ScriptingManager |
getInstance()
Get the valid instance of this manager.
|
void |
init()
Use this method to do some basic work only ONCE in the lifetime of a tenant resp.
|
createScript, createScript, getDefaultAttributeModes, getNamecheckBeforeItemRemoval, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, setAttribute, setTenant, setTransientObject, wrappublic ScriptingManager()
public static ScriptingManager getInstance()
public void init()
public void destroy()
public void createEssentialData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
createEssentialData in class Extensionparams - the parameters provided by user for creation of objects for the extensionjspc - the jsp context; you can use it to write progress information to the jsp page during creationpublic void createProjectData(java.util.Map<java.lang.String,java.lang.String> params,
JspContext jspc)
createProjectData in class Extensionparams - the parameters provided by user for creation of objects for the extensionjspc - the jsp context; you can use it to write progress information to the jsp page during creationCopyright © 2018 SAP SE. All Rights Reserved.