org.objectweb.proactive.examples.components.helloworld.helloworld-distributed-wrappers.fractal

   1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/proactive/core/component/adl/xml/proactive.dtd">
   3:
   4:<definition name="org.objectweb.proactive.examples.components.helloworld.helloworld-distributed-wrappers">
   5:  <interface name="r" role="server" signature="java.lang.Runnable"/>
   6:    <exportedVirtualNodes>
   7:        <exportedVirtualNode name="VN1">
   8:            <composedFrom>
   9:                <composingVirtualNode component="client" name="client-node"/>
  10:            </composedFrom>
  11:        </exportedVirtualNode>
  12:        <exportedVirtualNode name="VN2">
  13:            <composedFrom>
  14:                <composingVirtualNode component="server" name="server-node"/>
  15:            </composedFrom>
  16:        </exportedVirtualNode>
  17:    </exportedVirtualNodes>
  18:  <component name="client-wrapper" definition="org.objectweb.proactive.examples.components.helloworld.ClientType">
  19:      <component name="client" definition="org.objectweb.proactive.examples.components.helloworld.ClientImpl"/>
  20:      <binding client="this.r" server="client.r"/>
  21:      <binding client="client.s" server="this.s"/>
  22:      <controller desc="composite"/>
  23:  </component>
  24:  <component name="server-wrapper" definition="org.objectweb.proactive.examples.components.helloworld.ServerType">    
  25:      <component name="server" definition="org.objectweb.proactive.examples.components.helloworld.ServerImpl"/>
  26:      <binding client="this.s" server="server.s"/>
  27:      <controller desc="composite"/>
  28:  </component>
  29:  <binding client="this.r" server="client-wrapper.r"/>
  30:  <binding client="client-wrapper.s" server="server-wrapper.s"/>
  31:</definition>

org.objectweb.proactive.examples.components.helloworld.ClientType.fractal

   1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/proactive/core/component/adl/xml/proactive.dtd">
   3:
   4:<definition name="org.objectweb.proactive.examples.components.helloworld.ClientType" extends="org.objectweb.proactive.examples.components.helloworld.RootType">
   5:    <interface name="r" role="server" signature="java.lang.Runnable"/>
   6:    <interface name="s" role="client" signature="org.objectweb.proactive.examples.components.helloworld.Service"/>
   7:</definition>

org.objectweb.proactive.examples.components.helloworld.ClientImpl.fractal

   1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/proactive/core/component/adl/xml/proactive.dtd">
   3:
   4:<definition name="org.objectweb.proactive.examples.components.helloworld.ClientImpl" extends="org.objectweb.proactive.examples.components.helloworld.ClientType">
   5:    <exportedVirtualNodes>
   6:        <exportedVirtualNode name="client-node">
   7:            <composedFrom>
   8:                <composingVirtualNode component="this" name="client-node"/>
   9:            </composedFrom>
  10:        </exportedVirtualNode>
  11:    </exportedVirtualNodes>
  12:    <content class="org.objectweb.proactive.examples.components.helloworld.ClientImpl"/>
  13:    <virtual-node name="client-node" cardinality="single"/>
  14:</definition>

org.objectweb.proactive.examples.components.ServerType

   1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/proactive/core/component/adl/xml/proactive.dtd">
   3:
   4:<definition name="org.objectweb.proactive.examples.components.helloworld.ServerType">
   5:  <interface name="s" role="server" signature="org.objectweb.proactive.examples.components.helloworld.Service"/>
   6:</definition>

org.objectweb.proactive.examples.components.helloworld.ServerImpl

   1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" "classpath://org/objectweb/proactive/core/component/adl/xml/proactive.dtd">
   3:
   4:<definition name="org.objectweb.proactive.examples.components.helloworld.ServerImpl" extends="org.objectweb.proactive.examples.components.helloworld.ServerType">
   5:    <exportedVirtualNodes>
   6:        <exportedVirtualNode name="server-node">
   7:            <composedFrom>
   8:                <composingVirtualNode component="this" name="server-node"/>
   9:            </composedFrom>
  10:        </exportedVirtualNode>
  11:    </exportedVirtualNodes>
  12:  <content class="org.objectweb.proactive.examples.components.helloworld.ServerImpl"/>
  13:  <attributes signature="org.objectweb.proactive.examples.components.helloworld.ServiceAttributes">
  14:    <attribute name="header" value="->"/>
  15:    <attribute name="count" value="1"/>
  16:  </attributes>
  17:  <controller desc="primitive"/>
  18:  <virtual-node name="server-node" cardinality="single"/>
  19:</definition>