|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.TemplateProcessorFactory
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.
This class serves as a TemplateProcessor factory for the URLProcessor
class. It is only intended for usage consistent with the way that
URLProcessor uses it, and that is:
1) Getting a template processor instance back from the factory.
2) Calling the instance's handleRequest() method.
In order to add a new template processor so that the factory is aware
of it, add an entry to the service.properties file for the
"wt.enterprise.TemplateProcessor" service. Here is an example entry:
wt.services/svc/default/wt.enterprise.TemplateProcessor/ObjProps/java.lang.Object/0=wt.enterprise.ObjectPropertiesProcessor/duplicate
In the example "ObjProps" is the unique action that maps to the
"wt.enterprise.ObjectPropertiesProcessor" template processor. When
the
getTemplateProcessor() method is called with the action argument set
to
"ObjProps", the "wt.enterprise.ObjectPropertiesProcessor" template
processor
will be instantiated.
The TemplateProcessorFactory is intended to be called via the URLProcessor.
Supported API: false
Supported API: true
Extendable: false
URLProcessor
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 | |
TemplateProcessorFactory()
Deprecated. |
Method Summary | |
ApplicationContext |
getApplicationContext()
Deprecated. |
ApplicationContextServices |
getApplicationContextServices()
Deprecated. |
TemplateProcessor |
getTemplateProcessor(String action,
Object obj)
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 TemplateProcessorFactory() throws UnableToLoadServiceProperties
UnableToLoadServiceProperties
Method Detail |
public TemplateProcessor getTemplateProcessor(String action, Object obj) throws WTException
action
- obj
-
WTException
public ApplicationContextServices getApplicationContextServices()
public ApplicationContext getApplicationContext()
getApplicationContext
in interface ApplicationContextChild
public void setApplicationContext(ApplicationContext a_ApplicationContext) throws WTPropertyVetoException
setApplicationContext
in interface ApplicationContextChild
a_ApplicationContext
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |