Skip to content

Commit

Permalink
change the typo
Browse files Browse the repository at this point in the history
there is a typo in java code: SampleAdapter
  • Loading branch information
Terry-Huang-00 authored Jan 3, 2024
1 parent acc5b44 commit 6b128f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public class SampleAdapterFactory implements ServletAdapterFactory, CdsRuntimeAw
@Override
public Object create() {
// Create and return the protocol adapter
return new SampleAdater(runtime);
return new SampleAdapter(runtime);
}

@Override
Expand Down Expand Up @@ -318,4 +318,4 @@ One final comment on protocol adapters: even a simple protocol adapter like sket

As you've learned in this guide, there are various ways to extend the CAP Java framework. You can use one or more of the mentioned techniques and combine them in one or more Maven modules. This totally depends on your needs and requirements.

Most probably you combine the *Event Handler with custom types and annotations* mechanism together with *Sharing reusable CDS models via Maven artifacts* because the event handler mechanism might rely on shared CDS artifacts. The protocol adapters on the other hand are generic and model-independent modules that should be packaged and distributed independently.
Most probably you combine the *Event Handler with custom types and annotations* mechanism together with *Sharing reusable CDS models via Maven artifacts* because the event handler mechanism might rely on shared CDS artifacts. The protocol adapters on the other hand are generic and model-independent modules that should be packaged and distributed independently.

0 comments on commit 6b128f7

Please sign in to comment.