Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Define type id for PortableType classes #123

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
<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>
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
Loading