com.ptc.windchill.upgrade.directives
Class LightWeightServiceDirective.Server
java.lang.Object
com.ptc.windchill.upgrade.directives.LightWeightServiceDirective.Server
- All Implemented Interfaces:
- RemoteAccess
- Enclosing class:
- LightWeightServiceDirective
- public static class LightWeightServiceDirective.Server
- extends Object
- implements RemoteAccess
Lightweight service class that we call from this directive in
order to wrap the call to the method server migrator with actions
that should always be done a particular way, such as disabiling
access control and logging entry and exit to the migrator.
Method Summary |
static void |
invokeLightWeightServiceMigrator(String class_name,
String method_name,
Boolean disable_automatic_transaction)
If we are an administrator, disables access control, invokes lightweight
service migrator, and then restores access control setting to its
original state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSNAME
private static final String CLASSNAME
DEBUG
private static final boolean DEBUG
LOG
private static final DebugWriter LOG
LightWeightServiceDirective.Server
public LightWeightServiceDirective.Server()
invokeLightWeightServiceMigrator
public static void invokeLightWeightServiceMigrator(String class_name,
String method_name,
Boolean disable_automatic_transaction)
throws WTException
- If we are an administrator, disables access control, invokes lightweight
service migrator, and then restores access control setting to its
original state.
- Throws:
WTException