Advanced Customization > Business Logic Customization > Windchill Workgroup Manager Customization > Registering a Custom Event Listener
  
Registering a Custom Event Listener
You must register any custom listener (UwgmEventListener) handler in the <Windchill>/codebase/com/ptc/windchill/uwgm/common/delegate/application.service.xconf file.
Here is an example of a typical format:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Configuration SYSTEM "xconf.dtd">
<Configuration targetFile="codebase/service.properties">
<!-- UWGM Custom Services Implementation for Unit Test -->

<Service context="default"
name="com.ptc.windchill.uwgm.proesrv.c11n.UwgmEventListener">
<Option cardinality="duplicate"
requestor="java.lang.Object" selector="PRE_CHECKIN"
serviceClass="com.ptc.windchill.uwgm.proesrv.c11n.UwgmC11nEventListenerTest"/>
</Service>
</Configuration>
The following selectors are currently supported for registering custom event listeners:
PRE_CHECKIN
PRE_CHECKOUT
PRE_RENAME
PRE_SAVEAS
PRE_REVISE
You must use the xconfmanager utility to propagate changes in application.service.xconf file to the service.properties file.