Richard Zowalla created GERONIMO-6914:
-----------------------------------------

             Summary: Add geronimo-activation_2.1_spec for Jakarta Activation 
2.1
                 Key: GERONIMO-6914
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6914
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: specs
            Reporter: Richard Zowalla
            Assignee: Richard Zowalla


Jakarta EE 10 and 11 are based on Jakarta Activation 2.1. Geronimo only has 
geronimo\-activation\_2.0\_spec \(1.0.0\), which implements Activation 2.0. Add 
a geronimo\-activation\_2.1\_spec, based on the 2.0 spec.

Source: 
[https://svn.apache.org/repos/asf/geronimo/specs/trunk/|https://svn.apache.org/repos/asf/geronimo/specs/trunk/]
 \(geronimo\-activation\_2.0\_spec\)

Compared with jakarta.activation\-api 2.1.3, the 2.0 spec lacks:
\* the types jakarta.activation.MailcapRegistry, 
jakarta.activation.MimeTypeRegistry and jakarta.activation.MimeTypeEntry
\* the package jakarta.activation.spi with MailcapRegistryProvider and 
MimeTypeRegistryProvider
\* the protected constructor of CommandMap \(public in 2.0\)
\* generics in several signatures, for example ActivationDataFlavor\(Class<?>, 
...\), ActivationDataFlavor.getRepresentationClass\(\) and 
MimeTypeParameterList.getNames\(\)

The Geronimo jar contains the API and its implementation. The official 
jakarta.activation\-api 2.1 jar is the API only and needs a provider of 
jakarta.activation.spi.MailcapRegistryProvider at runtime \(Eclipse Angus 
Activation\). The 2.1 spec should stay self\-contained: MailcapCommandMap and 
MimetypesFileTypeMap keep working without an additional provider jar.

Users: Geronimo Mail 2.1 \(geronimo\-mail\_2.1\_spec and 
geronimo\-mail\_2.1\_provider depend on geronimo\-activation\_2.0\_spec\) and 
the Apache TomEE jakartaee\-api jar, which ships the Activation classes.





--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to