public final class TemplateEngineInvoker extends Object
Constructor and Description |
---|
TemplateEngineInvoker(oracle.wsc.core.template.TemplateEngine templateEngine)
constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
invokeTemplate(String methodName,
AuthenticationContext securityContext)
Invoke function with wsc sip request as parameter.
|
Object |
invokeTemplate(String methodName,
NotificationContext context)
Invoke function with notification context.
|
Object |
invokeTemplate(String methodName,
SipContext wscSipMessage)
Invoke function with wsc sip request as parameter.
|
Object |
invokeTemplate(String methodName,
TemplateContext templateCtx)
Invokes a template script.
|
Object |
invokeTemplate(String methodName,
WebContext webContext)
Invoke function with wsc sip request as parameter.
|
Object |
invokeTemplate(String methodName,
WscSipRequest wscSipRequest)
Invoke function with wsc sip request as parameter.
|
public TemplateEngineInvoker(oracle.wsc.core.template.TemplateEngine templateEngine)
templateEngine
- template enginepublic Object invokeTemplate(String methodName, TemplateContext templateCtx) throws ScriptException, NoSuchMethodException
methodName
- Template method nametemplateCtx
- Template contextScriptException
- the script exceptionNoSuchMethodException
- the no such method exceptionpublic Object invokeTemplate(String methodName, WscSipRequest wscSipRequest) throws ScriptException, NoSuchMethodException
methodName
- function namewscSipRequest
- wsc sip requestScriptException
- seNoSuchMethodException
- nsmepublic Object invokeTemplate(String methodName, SipContext wscSipMessage) throws ScriptException, NoSuchMethodException
methodName
- function namewscSipMessage
- wsc sip messageScriptException
- seNoSuchMethodException
- nsmepublic Object invokeTemplate(String methodName, AuthenticationContext securityContext) throws ScriptException, NoSuchMethodException
methodName
- function namesecurityContext
- wsc security contextScriptException
- seNoSuchMethodException
- nsmepublic Object invokeTemplate(String methodName, WebContext webContext) throws ScriptException, NoSuchMethodException
methodName
- function namewebContext
- wsc webContext contextScriptException
- seNoSuchMethodException
- nsmepublic Object invokeTemplate(String methodName, NotificationContext context) throws ScriptException, NoSuchMethodException
methodName
- function namecontext
- wsc notification contextScriptException
- seNoSuchMethodException
- nsme