Package wt.templateutil.processor
Class FormTaskDelegateFactory
java.lang.Object
wt.templateutil.processor.FormTaskDelegateFactory
- All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild
public class FormTaskDelegateFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild
Deprecated.
Deprecation Notice: This class is still valid for this release, however
this serves as advance notice that it will be removed in the future.
All user interfaces built using the Windchill HTML Template Processing
client architecture will be rewritten using a different framework in
an upcoming release.
Factory that is based on the ApplicationContextServices service. It
uses a
context String and a Context Class to decide what FormTaskDelegate
subclass
to use. The context String and the Context Class relate to an entry
in
service.properties(or another properties file with the same syntax)
in
the following way :
wt.services/svc/default/wt.templateutil.processor.FormTaskDelegate/
Supported API: true
Extendable: false
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormTaskDelegate(Object contextObject, String action) Deprecated.
-
Constructor Details
-
FormTaskDelegateFactory
public FormTaskDelegateFactory() throws wt.services.applicationcontext.implementation.UnableToLoadServicePropertiesDeprecated.
Supported API: true- Throws:
wt.services.applicationcontext.implementation.UnableToLoadServiceProperties
-
-
Method Details
-
getFormTaskDelegate
public FormTaskDelegate getFormTaskDelegate(Object contextObject, String action) throws WTException, WTPropertyVetoException Deprecated.Returns the desired FormTaskDelegate subclass based on the Context String specified in the action parameter and the class specified in the contextObject parameter.The contextObject is handled based on whether the object passed in is a String or not. If the contextObject is a String, it is assumed that the String is a fully qualified class path to an existing class and this class is used as the Context Class. Otherwise, the class of contextObject is used as the Context Class.
Supported API: true- Parameters:
contextObject-action-- Returns:
- FormTaskDelegate
- Throws:
WTExceptionWTPropertyVetoException
-