wt.httpgw
Class ServerCodebaseUrlCleaner
java.lang.Object
com.ptc.windchill.structconf.PropagationAction
wt.httpgw.ServerCodebaseUrlCleaner
- public class ServerCodebaseUrlCleaner
- extends PropagationAction
An xconf PropagationAction
that will check if the property wt.webserver.port=80 and if it does, it
will change the valu eof the wt.server.codebase property to equal:
http://$(java.rmi.server.hostname)/$(wt.webapp.name)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WT_WEBSERVER_PORT
private final String WT_WEBSERVER_PORT
- See Also:
- Constant Field Values
WT_WEBSERVER_PORT_URL_SUFFIX
private final String WT_WEBSERVER_PORT_URL_SUFFIX
- See Also:
- Constant Field Values
WT_SERVER_CODEBASE
private final String WT_SERVER_CODEBASE
- See Also:
- Constant Field Values
ServerCodebaseUrlCleaner
public ServerCodebaseUrlCleaner()
throws PropagationActionException
getDerivedFiles
public DerivedFile[] getDerivedFiles()
- Description copied from class:
PropagationAction
- Return the set of DerivedFile objects that will be updated if this custom propagation
action is evaluated. Note that this method needs to function correctly before
evaluation so that the StructConfManager can do timestamp- and file existence- based
analysis of whether or not to perform propagation. If the knowledge of the product root
is required to compute these files' paths, then the
Paths
API can be used. If kownledge about installed products/components/modules is required,
you will have to wait another couple weeks for an install_tools API that will provide this
information.
- Specified by:
getDerivedFiles
in class PropagationAction
evaluate
public void evaluate(CollectedProperties collected_properties)
- Description copied from class:
PropagationAction
- Evaluate the custom action. The action will have access to the specified collected
properties which can be used for whatever purpose the action wants.
A custom action should not ever write the derived file. Rather it should make changes in memory to
the DerivedFile instances returned in getDerivedFiles
.
The StructConfManager will utilize the write methods on DerivedFile implementation to ensure that
they get properly backed up and written in a safe way.
- Specified by:
evaluate
in class PropagationAction