Package wt.sysadm

Class SysAdmServletHelper

java.lang.Object
wt.sysadm.SysAdmServletHelper

public class SysAdmServletHelper extends Object
The SysAdmServletHelper class is designed to work with the URLFactory to provide a series of accessory methods to build invokations through the System Administrator gateway.

This class's scope should not be extended beyond the construction of requests for System Admin gateways. If other gateways are required, they should be created based on the implementation provided here.

The SysAdmServletHelper utilizes the URLFactory to create and return HREFs according to the current context. If the URLFactory's requestURI is set, a relative HREF will be returned if possible. If no requestURI is present the HREF will be relative to the Windchill codebase.

For example, if an System Administration gateway was set to http://hostname/Windchill/servlet/WindchillSAGW and the requestURI for the URLFactory is set to the codebase (in this example http://hostname/Windchill)
a call to

    buildSysAdmHREF( aURLFactory, "wt.httpgw.HTTPServer", "echo", null )
would return the String "servlet/WindchillSAGW/wt.httpgw.HTTPServer/echo"
See Also: