Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scenario

CAR1a

CBR2a

CCR2a

CDR3a

EndpointReferences at CD & CG

9 Binding

 

 

 

target=CES3

CD/R3a/target=CES3 CB/R3b/target=CES3

10 Binding

 

target=CFS3

 

target=CES3

CD/R3a/target=CES3 CD/R3a/target=CFS3 CB/R3b/target=CFS3

11 Binding

 

target=CFS3

 

target=CES3

TBD as 10

12 Binding

 

target=CFS3

 

target=CES3

TBD as 10

13 Binding

 

 

 

target=CES3

TBD as 9

Detailed Model

The EndpointReference and Endpoint have a number of fields and a status which indicates what they are connected to and how they will be processed. Both structures are externalizable. In the Endpoint case this allows a distributed registry of endpoints to be maintained. In the EndpointReference case this allows ServiceReferences to be serialized between remote components as called for in the SCA specifications.

TBD

Old Material

Creation and Activation

Event

Action

Create/Start Node

Read Model
Resolve model
Build model
Activate Runtime
Start Runtime

Message through reference

(if not resolved) EndpointReference resolution
Build Reference Chains

Service Not Available

TBD - possible future event

Add Service

TBD - Possible future event

Remove Service

TBD - Possible future event

Action

Description

Read Model

read composite file into in-memory model

Resolve Model

resolve composite against other artifacts in the composite and domain

Build model

create the appropriate relationships between parts of the model bases on SCA validation rules, Inludes:

  • Endpoint creation
  • EndpointReference creation

Activate Runtime

Create the runtime infrastructure. Includes:

  • EndpointReference resolution
  • EndpointReference wire creation
  • Endpoint wire creation

Start Runtime

Start all runtime providers

EndpointReference resolution

Locate the services that endpoint references refer to

Build Reference Chains

use the wire configuration to build the runtime interceptor chains

EndpointReference States

State

EndpointReference

Endpoint

Wired - service specified but unresolved

unresolved

unresolved

Wired - service resolved - binding not matched

resolved

unresolved

Wired - service resolved - binding matched

resolved

resolved

Unwired

resolved

resolved