com.ptc.windchill.upgrade.directives
Class LightWeightServiceDirective.Server

java.lang.Object
  extended bycom.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.


Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private static DebugWriter LOG
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
LightWeightServiceDirective.Server()
           
 
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
 

Field Detail

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

LightWeightServiceDirective.Server

public LightWeightServiceDirective.Server()
Method Detail

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