File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
jsonb-generator/src/main/java/io/avaje/jsonb/generator Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
class Constants {
4
4
5
- //static final String AT_GENERATED = "@Generated(\"io.avaje.inject.generator\")";
6
- static final String META_INF_COMPONENT = "META-INF/services/io.avaje.jsonb.Jsonb$Component" ;
5
+ static final String META_INF_COMPONENT = "META-INF/services/io.avaje.jsonb.Jsonb$GeneratedComponent" ;
7
6
static final String JSONB_WILD = "io.avaje.jsonb.*" ;
8
7
static final String JSONB_SPI = "io.avaje.jsonb.spi.*" ;
9
8
static final String JSONB = "io.avaje.jsonb.Jsonb" ;
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private void writeClassStart() {
88
88
}
89
89
writer .append ("})" ).eol ();
90
90
91
- writer .append ("public class %s implements Jsonb.Component {" , shortName ).eol ().eol ();
91
+ writer .append ("public class %s implements Jsonb.GeneratedComponent {" , shortName ).eol ().eol ();
92
92
}
93
93
94
94
Original file line number Diff line number Diff line change 6
6
7
7
exports io .avaje .jsonb .jackson ;
8
8
9
- provides io .avaje .jsonb .spi .IOAdapterFactory with io .avaje .jsonb .jackson .JacksonFactory ;
9
+ provides io .avaje .jsonb .spi .AdapterFactory with io .avaje .jsonb .jackson .JacksonAdapterFactory ;
10
10
}
Original file line number Diff line number Diff line change 6
6
7
7
@ Generated
8
8
@ MetaData ({CustomerJsonAdapter .class , ContactJsonAdapter .class })
9
- public class MyComponent implements Jsonb .Component {
9
+ public class MyComponent implements Jsonb .GeneratedComponent {
10
10
11
11
@ Override
12
12
public void register (Jsonb .Builder builder ) {
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ interface AdapterBuilder {
425
425
* Components register JsonAdapters Jsonb.Builder
426
426
*/
427
427
@ FunctionalInterface
428
- interface Component extends JsonbComponent {
428
+ interface GeneratedComponent extends JsonbComponent {
429
429
430
430
/**
431
431
* Register JsonAdapters with the Builder.
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ private void registerComponents() {
271
271
for (JsonbComponent next : ServiceLoader .load (JsonbComponent .class )) {
272
272
next .register (this );
273
273
}
274
- for (Component next : ServiceLoader .load (Component .class )) {
274
+ for (GeneratedComponent next : ServiceLoader .load (GeneratedComponent .class )) {
275
275
next .register (this );
276
276
}
277
277
}
Original file line number Diff line number Diff line change 6
6
7
7
uses io .avaje .jsonb .spi .AdapterFactory ;
8
8
uses io .avaje .jsonb .spi .Bootstrap ;
9
- uses io .avaje .jsonb .Jsonb .Component ;
9
+ uses io .avaje .jsonb .JsonbComponent ;
10
+ uses io .avaje .jsonb .Jsonb .GeneratedComponent ;
10
11
11
12
}
You can’t perform that action at this time.
0 commit comments