Skip to content

Commit

Permalink
Add externalid
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Nov 21, 2023
1 parent c18a21e commit 162397c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions api/src/main/java/jakarta/ejb/TimerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ public void setInfo(Serializable i) {
info_ = i;
}

/**
* Set externalid.
*
* @param externalId external id.
*/
public void setExternalId(String externalId) {
this.externalId = externalId;
}

/**
* Return the <code>externalId</code>.
*
* @return externalId
*/
public Serializable getExternalId() {
return externalId;
}

/**
* Return the <code>info</code> object made available to timer callbacks.
*
Expand Down Expand Up @@ -100,4 +118,5 @@ public String toString() {

private boolean persistent_ = true;

private String externalId;
}

0 comments on commit 162397c

Please sign in to comment.