119
PraCtiCing Coda with sCa
java is the XML element, and it has an attribute called class through which the
implementing Java class can be specified. As an example, the implementation for the
CheckInCtrlrComponent is defined as below:
<?xml version = "1.0" encoding = "UTF-8"?>
<sca:composite xmlns:sca = "http://www.osoa.org/xmlns/sca/1.0"
autowire = "false" name = "posguest" targetNamespace = "http://
eclipse.org/POSGuestApp/src/posguest">
<sca:component name = "CheckInCtrlrComponent">
<sca:implementation.java
class = "codabook.sca.pos.guestui.CheckInCtrlr"/>
…
</sca:component>
…
</sca:composite>
e service child element of a component configures the service configurable
aspect declared in the implementation. Recollect that we declared the C