Custom Search SOABYTE here

Monday, March 8, 2010

SOA Suite 11g - api tricks part 3 - composite mode / state

The first important piece to understand is that there are two parts to the state
a) active | retired (this setting decides whether new instances can be created [active], or old ones are allowed to finish w/o new ones being allowed to be created [retired] - this is referred to as composite mode
b) on | off (this is the composite state) and overrides (a) in either allowing call access [invoke / callback] to the composite revision [on] or not at all [off]. This is referred to as composite state.

This entry explained how to find a specific instance back via composite sensor values, instance id, or conversation id, yet the starting point is the same.
From one can use getComposite(CompositeDN), which gets you to the composite (an impl of
In order to retrieve the mode (a) and the state (b) - use the api (and unfortunately the implementation).

System.out.println("Mode: " + composite.getMode() + " state: " + 


This will get you something along the below line Mode: active state: on.


Post a Comment

Blogger Profile