Skip to content

Commit b103828

Browse files
author
Joerg Huber
committed
Updated upgrade instructions.
1 parent 4fb9b61 commit b103828

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

SIF3InfraREST/release/v0.12.0/Release_Notes_v0.12.0.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ New Functionality
1313
Changed Functionality
1414
---------------------
1515
- Changed how hibernate configuration is managed. See Infrastructure upgrade further down in this file.
16+
- SIFEvent<L> Class has now a property to hold the Zone and Context for the event. This will caused
17+
compilation errors if you are using Events Functionality. See upgrade instructions below on how
18+
to fix these compilation errors.
1619

1720
Removed Artifacts/Functionality
1821
-------------------------------
@@ -67,6 +70,14 @@ Use the latest maven dependency
6770
<version>0.12.0</version>
6871
</dependency>
6972

73+
Due to changes to the SIFEvent<L> class and related interfaces you will get a compilation error if you have implemented
74+
any consumers that extend the AbstarctEventConsumer. The abstract method "processEvent" no longer has the SIFZone and SIFContext
75+
parameter. You need to remove them from the signature of this method in your consumer implementation. If you need access to
76+
the zone and context then it can be retrieved from the SIFEvent<L> parameter of this method:
77+
Example to get the Zone: sifEvent.getLimitToZoneCtxList().get(0).getZone()
78+
Example to get the Zone: sifEvent.getLimitToZoneCtxList().get(0).getContext()
79+
Please refer to javadoc of this AbstarctEventConsumer class for more details.
80+
7081
------------------------
7182
-- Data Model Upgrade --
7283
------------------------

0 commit comments

Comments
 (0)