From: <Hov...@ly...> - 2003-08-20 07:52:59
|
Lets discuss configuration files in more details. It will be VCB language so lets polish it. So far we have part and device configuration files. For now lets focus on parts. We have something like this|: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> <part name="Database" classname="org.vcb.parts.database"> <terminals> <inpin id="1" name="start" > </inpin> <inpin id="2" name="stop" > </inpin> <inpin id="1" name="setup" > <parameter name="url" type="java.lang.String" /> <parameter name="url" type="java.lang.String" /> </inpin> <inpin id="3" name="request" > <parameter type="java.lang.String" /> </inpin> <outpin id="51" name="response" > <parameter type="java.lang.String" /> </outpin> </terminals> </part> lets discuss attributes: <part name - is short name to be shown on the diagram, could be optional sourcename - path to the implementation class <inpin id - unique id for this part name - name of the pin to be shown on the diagram methodname - name of the method in the class (optional - if skipped then name used) <inout in addtion to inpin attributes out_id - id for outpin out_name - name of outpin <parameter type - parameter type name - (optional) name of parameter explaining its meaning Comments? Hovhannes |