|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.FormTaskDelegateFactory
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/
A concrete example of such an entry is
wt.services/svc/default/wt.templateutil.processor.FormTaskDelegate/AddEff/wt.change2.ChangeActivityIfc/0=wt.eff.ChangeActivityAddEffTaskDelegate/duplicate
Supported API: true
Extendable: false
Field Summary | |
private ApplicationContext |
applicationContext
Deprecated. |
private static String |
CLASSNAME
Deprecated. |
private static String |
RESOURCE
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild |
APPLICATION_CONTEXT |
Constructor Summary | |
FormTaskDelegateFactory()
Deprecated. |
Method Summary | |
ApplicationContextServices |
getApplContextServices()
Deprecated. |
ApplicationContext |
getApplicationContext()
Deprecated. |
FormTaskDelegate |
getFormTaskDelegate(Object contextObject,
String action)
Deprecated. |
void |
setApplicationContext(ApplicationContext a_ApplicationContext)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ApplicationContext applicationContext
private static boolean VERBOSE
Constructor Detail |
public FormTaskDelegateFactory() throws UnableToLoadServiceProperties
UnableToLoadServiceProperties
Method Detail |
public FormTaskDelegate getFormTaskDelegate(Object contextObject, String action) throws WTException, WTPropertyVetoException
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
contextObject
- action
-
WTException
WTPropertyVetoException
public ApplicationContext getApplicationContext()
getApplicationContext
in interface ApplicationContextChild
public void setApplicationContext(ApplicationContext a_ApplicationContext) throws WTPropertyVetoException
setApplicationContext
in interface ApplicationContextChild
a_ApplicationContext
-
WTPropertyVetoException
public ApplicationContextServices getApplContextServices()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |