Z:/windchill/codebase Z:/windchill/codebase
Z:/windchill/codebase Z:/windchill/codebase
package com.aame.listen;
import java.lang.String;
/**
* Listens for pre/post checkin events. When an event is
* "heard", prints messages to the MethodServer log and console.
* <p>
* Use the <code>newStandardListenService</code> static factory method(s),
* not the <code>StandardListenService</code> constructor, to construct
* instances of this class. Instances must be constructed using the static
* factory(s), in order to ensure proper initialization of the instance.
* <p>
*
**/
}
/* Change: Add event listeners here */
getManagerService().addEventListener(
* new ServiceEventListenerAdapter( this.getConceptualClassname() ) { public
void notifyVetoableEvent( Object event )
* throws WTException {
* final Workable target =
* ((WorkInProgressServiceEvent)event).getOriginalCopy();
System.out.println("Listen hears PRE_CHECKIN: "); System.out.print("
target:");
System.out.println(target.toString());
* }
* }
* WorkInProgressServiceEvent.generateEventKey(
* WorkInProgressServiceEvent.PRE_CHECKIN ));
* getManagerService().addEventListener(
* new ServiceEventListenerAdapter( this.getConceptualClassname() ) { public
void notifyVetoableEvent( Object event )
* throws WTException {
* final Workable target =
* ((WorkInProgressServiceEvent)event).getOriginalCopy();
System.out.println("Listen hears POST_CHECKIN: "); System.out.print("
target:");
System.out.println(target.toString());
}
},
WorkInProgressServiceEvent.generateEventKey(
WorkInProgressServiceEvent.POST_CHECKIN ));
/* Standard debug output */
if (DEBUG && DebugProperties.isTrace(this))
LOG.exit(CLASSNAME,"performStartupProcess");
}
}