Hitachi

uCosminexus Application Server Compatibility Guide


9.15.2 Implementing the callback methods

The user implements the callback method as and when required. The callback method signature differs in the callback method implemented in the entity class and mapped superclass and in the callback method of the entity listener class.

The callback method defined in the entity class and mapped superclass has the following signature:

void <METHOD>

The callback method defined in the entity listener class has the following signature:

void <METHOD>(Object)

In the argument Object, you specify the entity instance in which the callback method is executed.

Organization of this subsection

(1) Notes on using the callback methods

Note the following regarding the callback methods. If the following conditions are not satisfied, an exception occurs at application startup and the application fails to start:

(2) Rules applied to the callback methods

The following rules are applied to the callback methods: