Advanced Customization > Services and Infrastructure Customization > Creating Non-Modeled Services for Listening > Create a Standard Service Class
  
Create a Standard Service Class
Save the standard service class to:
<Windchill>/src/com/acme/listen/StandardListenService.java
The example below has comments that indicate "standard" pieces of code that should not be changed as they are necessary to interact with the standard service manager and other services. There are other comments that indicate pieces of code that should be changed, for example, to reflect your choice of package and class names and to listen to the particular events you are interested in. Here is the source code: