<PostApplyListener>
Section:
Options, Class
Required:
No
Value type:
Fully qualified Java class name
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
Configures a custom PostApply listener class. PostApply listeners are only applied if the object was successfully stored to the database. They are useful for integrating with external systems. For example, you can use a PostApply listener to send information about a part to SAP system. This way the data won't be sent unless the data is saved successfully. It may also be used for resource cleanup. PostApply listeners require the system to cache data from the PreApply code. This caching process can affect performance.
The class definition overwrites the global definition in the Options section. That is, if a class has a PostApplyListener configured and there is a PostApplyListener configured in the Options section, then the definition in the class is used.
Example
This example shows the configuration for a custom PostApply listener:
<PostApplyListener>com.osmext.biz.Model3DListener</PostApplyListener>
Was this helpful?