Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
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
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>9</version>
<version>10</version>
</parent>

<groupId>org.jboss.spec.javax.enterprise.concurrency</groupId>
<groupId>org.jboss.spec.javax.enterprise.concurrent</groupId>
<artifactId>jboss-concurrency-api_1.0_spec</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<version>1.0.0.Alpha1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Concurrency Utilities API</name>
Expand All @@ -22,9 +22,9 @@
</licenses>

<scm>
<connection>scm:git:git@github.com:jboss/jboss-concurrency-api_spec.git</connection>
<developerConnection>scm:git:git@github.com:jboss/jboss-concurrency-api_spec.git</developerConnection>
<url>https://github.com/jboss/jboss-conc-api_spec</url>
<connection>scm:git:git@github.com:jboss/jboss-javaee-concurrency-api_spec.git</connection>
<developerConnection>scm:git:git@github.com:jboss/jboss-javaee-concurrency-api_spec.git</developerConnection>
<url>https://github.com/jboss/jboss-javaee-concurrency-api_spec</url>
</scm>

<build>
Expand Down Expand Up @@ -78,10 +78,10 @@
<instructions>
<Specification-Title>JSR-000236 Concurrency Utilities API</Specification-Title>
<Specification-Vendor>Oracle</Specification-Vendor>
<Specification-Version>7</Specification-Version>
<Specification-Version>1.0</Specification-Version>
<!-- Set the package version to match the spec version -->
<Export-Package>
javax.enterprise.concurrency.*;version=7
javax.enterprise.concurrency*;version=1.0
</Export-Package>
</instructions>
</configuration>
Expand All @@ -105,7 +105,7 @@
<manifestEntries>
<Specification-Title>JSR-000236 Concurrency Utilities API</Specification-Title>
<Specification-Vendor>Oracle</Specification-Vendor>
<Specification-Version>7</Specification-Version>
<Specification-Version>1.0</Specification-Version>
</manifestEntries>
</archive>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/**
*/
public interface ContextService {
String USE_PARENT_TRANSACTION = "javax.enterprise.concurrent.USE_PARENT_TRANSACTION";

Object createContextualProperty(Object instance, Class<?>... interfaces) throws IllegalArgumentException;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ public Map<String, String> getExecutionProperties() {
return executionProperties;
}

public String getIdentityDescription(final Locale locale) {
return "anonymous";
}

public ManagedTaskListener getManagedTaskListener() {
return taskListener;
}
Expand Down Expand Up @@ -77,10 +73,6 @@ public Map<String, String> getExecutionProperties() {
return executionProperties;
}

public String getIdentityDescription(final Locale locale) {
return "anonymous";
}

public ManagedTaskListener getManagedTaskListener() {
return taskListener;
}
Expand Down
7 changes: 3 additions & 4 deletions src/main/java/javax/enterprise/concurrent/ManagedTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
/**
*/
public interface ManagedTask {
String CONTEXTUAL_CALLBACK_UNIT = "javax.enterprise.concurrent.CONTEXTUAL_CALLBACK_HINT";
String DISTRIBUTABLE_HINT = "javax.enterprise.concurrent.DISTRIBUTABLE_HINT";
String IDENTITY_NAME = "javax.enterprise.concurrent.IDENTITY_NAME";
String LONGRUNNING_HINT = "javax.enterprise.concurrent.LONGRUNNING_HINT";
String SUSPEND = "SUSPEND";
String TRANSACTION = "javax.enterprise.concurrent.TRANSACTION";
String USE_TRANSACTION_OF_EXECUTION_THREAD = "USE_TRANSACTION_OF_EXECUTION_THREAD";

Map<String, String> getExecutionProperties();

String getIdentityDescription(Locale locale);

ManagedTaskListener getManagedTaskListener();
}