Which level of Tuscany are you using? 1.x (branches/sca-java-1.x) or 2.x (java/sca)?
If you are using 2.x, how do you bootstrap Tuscany? Are you using NodeFactory.newInstance().createNode(...)? org.apache.tuscany.sca.node.impl.NodeImpl.getDomainComposite() can give you the information. But this method is not available on org.apache.tuscany.sca.node.Node interface. Node.getService() or org.oasisopen.sca.client.SCAClient.getService() allows you to get service proxies using <componentName>/<serviceName>, but you cannot list all the services. If you can give us more details about your scenario, we can probably work out a solution without hacking the current code. Thanks, Raymond From: Malujo Rev Sent: Thursday, September 24, 2009 2:09 PM To: dev-tuscany Subject: Please give advice: query current composite info Hi, I am trying to build this little component which will automatically discover all components inside the current composite and then dynamic invoke whatever service available. I checked some doc, it seems CurrentCompositeContect class should serve this function. but it seems not exist any more. Do you know what java classes I can use for this purpose? Many Thanks , Malujo
