You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nuvem-commits@incubator.apache.org by jo...@apache.org on 2011/03/28 21:00:54 UTC
svn commit: r1086401 -
/incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite
Author: johnp
Date: Mon Mar 28 21:00:54 2011
New Revision: 1086401
URL: http://svn.apache.org/viewvc?rev=1086401&view=rev
Log:
composite file wiring xmpp component and its connector
Added:
incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite
Added: incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite?rev=1086401&view=auto
==============================================================================
--- incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite (added)
+++ incubator/nuvem/trunk/nuvem-standalone-xmpp/src/main/resources/nuvemxmpp.composite Mon Mar 28 21:00:54 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://nuvemxmpp" name="xmpp">
+
+
+ <component name="XMPPComponent">
+ <implementation.java
+ class="org.apache.nuvem.xmpp.client.DefaultXMPPEndPoint" />
+ <service name="XMPPEndPoint">
+ <interface.java interface="org.apache.nuvem.cloud.xmpp.api.XMPPEndPoint" />
+ </service>
+ <reference name="connector" target="SingleConnectionConnector/XMPPConnector">
+ <interface.java interface="org.apache.nuvem.cloud.xmpp.api.XMPPConnector" />
+ </reference>
+ </component>
+
+ <component name="SingleConnectionConnector">
+ <implementation.java
+ class="org.apache.nuvem.xmpp.client.SingleConnectionConnector" />
+ <service name="XMPPConnector">
+ <interface.java interface="org.apache.nuvem.cloud.xmpp.api.XMPPConnector" />
+ </service>
+ <property name="clientJID">nuvem@localhost</property>
+ <property name="clientPassword">password</property>
+ </component>
+
+</composite>