Skip to content

Commit

Permalink
Define type id for PortableType classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddlet2666 committed Aug 16, 2024
1 parent 3406d61 commit 7f81883
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -391,16 +391,16 @@
<argument>-Dhttp.hostname=${http.hostname}</argument>
<argument>-Dhttp.port=${http.port}</argument>
<argument>-Dcoherence.grpc.server.port=1408</argument>
<argument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=12345</argument>
<!-- <argument>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=12345</argument>-->
<argument>com.oracle.coherence.demo.application.Launcher</argument>
</arguments>
</configuration>
</plugin>

<plugin>
<groupId>com.oracle.coherence.ce</groupId>
<groupId>${coherence.group.id}</groupId>
<artifactId>pof-maven-plugin</artifactId>
<version>24.03.1</version>
<version>${coherence.version}</version>
<executions>
<execution>
<id>instrument</id>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: GetMemberInfo.java
*
* Copyright (c) 2015, 2020 Oracle and/or its affiliates.
* Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
Expand Down Expand Up @@ -37,7 +37,7 @@
*
* @author Brian Oliver
*/
@PortableType
@PortableType(id = 1000)
public class GetMemberInfo
extends AbstractInvocable {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/oracle/coherence/demo/model/ChartData.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: ChartData.java
*
* Copyright (c) 2015, 2020 Oracle and/or its affiliates.
* Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
Expand Down Expand Up @@ -37,7 +37,7 @@
*/
@XmlRootElement(name = "chart-data")
@XmlAccessorType(XmlAccessType.PROPERTY)
@PortableType
@PortableType(id = 1001)
public class ChartData {
@SuppressWarnings("unused")
private static final long serialVersionUID = -4557078639768809864L;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/oracle/coherence/demo/model/MemberInfo.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: MemberInfo.java
*
* Copyright (c) 2015, 2021 Oracle and/or its affiliates.
* Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
Expand Down Expand Up @@ -36,7 +36,7 @@
*/
@XmlRootElement(name = "member-info")
@XmlAccessorType(XmlAccessType.PROPERTY)
@PortableType
@PortableType(id = 1002)
public class MemberInfo {
@SuppressWarnings("unused")
private static final long serialVersionUID = -2555078539266609164L;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/oracle/coherence/demo/model/Price.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: Price.java
*
* Copyright (c) 2015, 2020 Oracle and/or its affiliates.
* Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
Expand Down Expand Up @@ -38,7 +38,7 @@
@Entity
@XmlRootElement(name = "price")
@XmlAccessorType(XmlAccessType.PROPERTY)
@PortableType
@PortableType(id = 1003)
public class Price {
@SuppressWarnings("unused")
private static final long serialVersionUID = -2557678549268609664L;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/oracle/coherence/demo/model/Trade.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: Trade.java
*
* Copyright (c) 2015, 2020 Oracle and/or its affiliates.
* Copyright (c) 2015, 2024 Oracle and/or its affiliates.
*
* You may not use this file except in compliance with the Universal Permissive
* License (UPL), Version 1.0 (the "License.")
Expand Down Expand Up @@ -38,7 +38,7 @@
@Entity
@XmlRootElement(name = "trade")
@XmlAccessorType(XmlAccessType.PROPERTY)
@PortableType
@PortableType(id = 1004)
public class Trade {
@SuppressWarnings("unused")
private static final long serialVersionUID = -2557078539268609864L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
@XmlRootElement(name = "summary")
@XmlAccessorType(XmlAccessType.PROPERTY)
@PortableType
@PortableType(id = 1005)
public class TradeSummary {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* An aggregator to efficiently summarise trade information across all trades.
*/
@PortableType
@PortableType(id = 1006)
public class TradeSummaryAggregator
implements InvocableMap.StreamingAggregator<String, Trade, TradeSummary, TradeSummary> {

Expand Down

0 comments on commit 7f81883

Please sign in to comment.