You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2007/07/25 20:12:22 UTC

svn commit: r559546 - /incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/

Author: rfeng
Date: Wed Jul 25 11:12:21 2007
New Revision: 559546

URL: http://svn.apache.org/viewvc?view=rev&rev=559546
Log:
A strawman of interfaces for the model defined by the SCA JMS Binding Spec 1.0

Added:
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java   (with props)
    incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java   (with props)

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,30 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface ActivationSpec extends PropertyList {
+    String getName();
+    void setName(String name);
+    CreateResource getCreate();
+    void setCreate(CreateResource create);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,31 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface ConnectionFactory extends PropertyList {
+    String getName();
+    void setName(String name);
+    CreateResource getCreate();
+    void setCreate(CreateResource create);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,39 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Specifies the metadata for a JMS connection
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface ConnectionInfo {
+    Destination getDestination();
+
+    ConnectionFactory getConnectionFactory();
+
+    ActivationSpec getActivationSpec();
+
+    void setDestination(Destination destination);
+
+    void setConnectionFactory(ConnectionFactory connectionFactory);
+
+    void setActivationSpec(ActivationSpec activationSpec);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,27 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public enum CorrelationScheme {
+    RequestMsgIDToCorrelID, RequestCorrelIDToCorrelID, None
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,32 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Indicates whether the destination should be created when the containing composite is 
+ * deployed. Valid values are "always", "never" and "ifnotexist". The default value is 
+ * "ifnotexist". If "always" is specified and the corresponding resource already exists, 
+ * then this should be considered an error
+ * 
+ * @version $Rev$ $Date$
+ */
+public enum CreateResource {
+    ALWAYS, NEVER, IFNOTEXIST
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,29 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+import java.util.List;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface Definitions {
+    List<JMSBinding> getBindings();
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,46 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Identifies the destination that is to be used to process requests/responses by this 
+ * binding.
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface Destination extends PropertyList {
+    /**
+     * The name of the destination to which the binding is connected. This may be a JNDI 
+     * name or a plain destination name
+     * 
+     * @return
+     */
+    String getName();
+
+    void setName(String name);
+
+    DestinationType getType();
+
+    void setType(DestinationType type);
+
+    CreateResource getCreate();
+
+    void setCreate(CreateResource create);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,31 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * The type of the request destination. Must take one of the values "queue" or "topic". 
+ * The default value is "queue". When "topic" is specified, then all the operations in 
+ * the interface that corresponds to the binding must be one-way.
+ * 
+ * @version $Rev$ $Date$
+ */
+public enum DestinationType {
+    QUEUE, TOPIC
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,50 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * this element allows JMS headers to be set to the given values for all
+ * operations. These values apply to requests from a reference and responses
+ * from a service.
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface Headers extends PropertyList {
+    String getJMSType();
+
+    void setJMSType(String jmsType);
+
+    String getJMSCorrelationId();
+
+    void setJMSCorrelationId(String jmsCorrelationId);
+
+    String getJMSDeliveryMode();
+
+    void setJMSDeliveryMode(String jmsDeliveryMode);
+
+    String getJMSTimeToLive();
+
+    void setJMSTimeToLive(String jmsTimeToLive);
+
+    String getJMSPriority();
+
+    void setJMSPriority(String jmsPriority);
+
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,100 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+import org.apache.tuscany.sca.assembly.Base;
+import org.apache.tuscany.sca.assembly.Binding;
+
+/**
+ * This is the generic JMS binding type. The type is extensible so that JMS
+ * binding implementers can add additional JMS provider-specific attributes and
+ * elements although such extensions are not guaranteed to be portable across
+ * runtimes.
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface JMSBinding extends Binding, Base {
+    /**
+     * Identifies the correlation scheme used when sending reply or callback
+     * messages. Valid values are "RequestMsgIDToCorrelID" (the default),
+     * "RequestCorrelIDToCorrelID", and "None".
+     * 
+     * @return
+     */
+    CorrelationScheme getCorrelationScheme();
+
+    void setCorrelationScheme(CorrelationScheme correlationScheme);
+
+    /**
+     * the name of the JNDI initial context factory
+     * 
+     * @return
+     */
+    String getInitialContextFactory();
+
+    void setInitialContextFactory(String initialContextFactory);
+
+    /**
+     * The URL for the JNDI provider
+     * 
+     * @return
+     */
+    String getJndiURL();
+
+    void setJndiURL(String jndiURL);
+
+    /**
+     * identifies a binding.jms element that is present in a definition
+     * document, whose destination, connectionFactory, activationSpec and
+     * resourceAdapter children are used to define the values for this binding.
+     * In this case the corresponding elements must not be present within this
+     * binding element
+     * 
+     * @return
+     */
+    ConnectionInfo getRequestConnection();
+
+    void setRequestConnection(ConnectionInfo requestConnection);
+
+    /**
+     * identifies a binding.jms element that is present in a definition
+     * document, whose response child element is used to define the values for
+     * this binding. In this case no response element must be present within
+     * this binding element
+     * 
+     * @return
+     */
+    ConnectionInfo getResponseConnection();
+
+    void setResponseConnection(ConnectionInfo responseConnection);
+
+    /**
+     * identifies a binding.jms element that is present in a definition
+     * document, whose operationProperties children are used to define the
+     * values for this binding. In this case no operationProperties elements
+     * must be present within this binding element
+     * 
+     * @return
+     */
+    OperationProperties getOperationProperties();
+
+    void setOperationProperties(OperationProperties operationProperties);
+
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,47 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * The factory to create the JMS binding model objects
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface JMSBindingFactory {
+    JMSBinding createJMSBinding();
+
+    ActivationSpec createActivationSpec();
+
+    ConnectionFactory createConnectionFactory();
+
+    ConnectionInfo createConnectionInfo();
+
+    Definitions createDefinitions();
+
+    Destination createDestination();
+
+    Headers createHeaders();
+
+    OperationProperties createOperationProperties();
+
+    Property createProperty();
+
+    ResourceAdapter createResourceAdapter();
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,36 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Specifies various properties that are specific to the processing of a particular 
+ * operation.
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface OperationProperties extends PropertyList {
+    Headers getHeaders();
+
+    void setHeaders(Headers headers);
+
+    String getNativeOperation();
+
+    void setNativeOperation(String nativeOperation);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,35 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Specifies the value to use for the specified JMS user property
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface Property {
+    String getName();
+
+    void setName(String name);
+
+    String getValue();
+
+    void setValue(String type);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,31 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+import java.util.List;
+
+/**
+ * A list of properties
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface PropertyList {
+    List<Property> getProperties();
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java?view=auto&rev=559546
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java (added)
+++ incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java Wed Jul 25 11:12:21 2007
@@ -0,0 +1,36 @@
+/*
+ * 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.    
+ */
+
+package org.apache.tuscany.sca.binding.jms.model;
+
+/**
+ * Specifies name, type and properties of the Resource Adapter Java bean. This is required 
+ * when the JMS resources are to be created for a JCA 1.5-compliant JMS provider, and is 
+ * ignored otherwise. There may be a restriction, depending on the deployment platform, 
+ * about specifying properties of the RA Java Bean. For non-JCA 1.5-compliant JMS providers, 
+ * information necessary for resource creation must be done in provider-specific elements or 
+ * attributes allowed by the extensibility of the binding.jms element.
+ * 
+ * @version $Rev$ $Date$
+ */
+public interface ResourceAdapter extends PropertyList {
+    String getName();
+
+    void setName(String name);
+}

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Re: svn commit: r559546 - /incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/

Posted by Raymond Feng <en...@gmail.com>.
Hi,

For those who are interested in the JMS binding, I just checked in a set of 
interfaces for the model defined by the SCA JMS Binding Spec 1.0.

Feedback and help are appreciated.

Thanks,
Raymond
----- Original Message ----- 
From: <rf...@apache.org>
To: <tu...@ws.apache.org>
Sent: Wednesday, July 25, 2007 11:12 AM
Subject: svn commit: r559546 - 
/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/


> Author: rfeng
> Date: Wed Jul 25 11:12:21 2007
> New Revision: 559546
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=559546
> Log:
> A strawman of interfaces for the model defined by the SCA JMS Binding Spec 
> 1.0
>
> Added:
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java 
> (with props)
> 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java 
> (with props)
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,30 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * @version $Rev$ $Date$
> + */
> +public interface ActivationSpec extends PropertyList {
> +    String getName();
> +    void setName(String name);
> +    CreateResource getCreate();
> +    void setCreate(CreateResource create);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ActivationSpec.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,31 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface ConnectionFactory extends PropertyList {
> +    String getName();
> +    void setName(String name);
> +    CreateResource getCreate();
> +    void setCreate(CreateResource create);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionFactory.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,39 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Specifies the metadata for a JMS connection
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface ConnectionInfo {
> +    Destination getDestination();
> +
> +    ConnectionFactory getConnectionFactory();
> +
> +    ActivationSpec getActivationSpec();
> +
> +    void setDestination(Destination destination);
> +
> +    void setConnectionFactory(ConnectionFactory connectionFactory);
> +
> +    void setActivationSpec(ActivationSpec activationSpec);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ConnectionInfo.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,27 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * @version $Rev$ $Date$
> + */
> +public enum CorrelationScheme {
> +    RequestMsgIDToCorrelID, RequestCorrelIDToCorrelID, None
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CorrelationScheme.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,32 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Indicates whether the destination should be created when the 
> containing composite is
> + * deployed. Valid values are "always", "never" and "ifnotexist". The 
> default value is
> + * "ifnotexist". If "always" is specified and the corresponding resource 
> already exists,
> + * then this should be considered an error
> + *
> + * @version $Rev$ $Date$
> + */
> +public enum CreateResource {
> +    ALWAYS, NEVER, IFNOTEXIST
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/CreateResource.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,29 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +import java.util.List;
> +
> +/**
> + * @version $Rev$ $Date$
> + */
> +public interface Definitions {
> +    List<JMSBinding> getBindings();
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Definitions.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,46 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Identifies the destination that is to be used to process 
> requests/responses by this
> + * binding.
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface Destination extends PropertyList {
> +    /**
> +     * The name of the destination to which the binding is connected. 
> This may be a JNDI
> +     * name or a plain destination name
> +     *
> +     * @return
> +     */
> +    String getName();
> +
> +    void setName(String name);
> +
> +    DestinationType getType();
> +
> +    void setType(DestinationType type);
> +
> +    CreateResource getCreate();
> +
> +    void setCreate(CreateResource create);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Destination.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,31 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * The type of the request destination. Must take one of the values 
> "queue" or "topic".
> + * The default value is "queue". When "topic" is specified, then all the 
> operations in
> + * the interface that corresponds to the binding must be one-way.
> + *
> + * @version $Rev$ $Date$
> + */
> +public enum DestinationType {
> +    QUEUE, TOPIC
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/DestinationType.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,50 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * this element allows JMS headers to be set to the given values for all
> + * operations. These values apply to requests from a reference and 
> responses
> + * from a service.
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface Headers extends PropertyList {
> +    String getJMSType();
> +
> +    void setJMSType(String jmsType);
> +
> +    String getJMSCorrelationId();
> +
> +    void setJMSCorrelationId(String jmsCorrelationId);
> +
> +    String getJMSDeliveryMode();
> +
> +    void setJMSDeliveryMode(String jmsDeliveryMode);
> +
> +    String getJMSTimeToLive();
> +
> +    void setJMSTimeToLive(String jmsTimeToLive);
> +
> +    String getJMSPriority();
> +
> +    void setJMSPriority(String jmsPriority);
> +
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Headers.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,100 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +import org.apache.tuscany.sca.assembly.Base;
> +import org.apache.tuscany.sca.assembly.Binding;
> +
> +/**
> + * This is the generic JMS binding type. The type is extensible so that 
> JMS
> + * binding implementers can add additional JMS provider-specific 
> attributes and
> + * elements although such extensions are not guaranteed to be portable 
> across
> + * runtimes.
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface JMSBinding extends Binding, Base {
> +    /**
> +     * Identifies the correlation scheme used when sending reply or 
> callback
> +     * messages. Valid values are "RequestMsgIDToCorrelID" (the default),
> +     * "RequestCorrelIDToCorrelID", and "None".
> +     *
> +     * @return
> +     */
> +    CorrelationScheme getCorrelationScheme();
> +
> +    void setCorrelationScheme(CorrelationScheme correlationScheme);
> +
> +    /**
> +     * the name of the JNDI initial context factory
> +     *
> +     * @return
> +     */
> +    String getInitialContextFactory();
> +
> +    void setInitialContextFactory(String initialContextFactory);
> +
> +    /**
> +     * The URL for the JNDI provider
> +     *
> +     * @return
> +     */
> +    String getJndiURL();
> +
> +    void setJndiURL(String jndiURL);
> +
> +    /**
> +     * identifies a binding.jms element that is present in a definition
> +     * document, whose destination, connectionFactory, activationSpec and
> +     * resourceAdapter children are used to define the values for this 
> binding.
> +     * In this case the corresponding elements must not be present within 
> this
> +     * binding element
> +     *
> +     * @return
> +     */
> +    ConnectionInfo getRequestConnection();
> +
> +    void setRequestConnection(ConnectionInfo requestConnection);
> +
> +    /**
> +     * identifies a binding.jms element that is present in a definition
> +     * document, whose response child element is used to define the 
> values for
> +     * this binding. In this case no response element must be present 
> within
> +     * this binding element
> +     *
> +     * @return
> +     */
> +    ConnectionInfo getResponseConnection();
> +
> +    void setResponseConnection(ConnectionInfo responseConnection);
> +
> +    /**
> +     * identifies a binding.jms element that is present in a definition
> +     * document, whose operationProperties children are used to define 
> the
> +     * values for this binding. In this case no operationProperties 
> elements
> +     * must be present within this binding element
> +     *
> +     * @return
> +     */
> +    OperationProperties getOperationProperties();
> +
> +    void setOperationProperties(OperationProperties operationProperties);
> +
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBinding.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,47 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * The factory to create the JMS binding model objects
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface JMSBindingFactory {
> +    JMSBinding createJMSBinding();
> +
> +    ActivationSpec createActivationSpec();
> +
> +    ConnectionFactory createConnectionFactory();
> +
> +    ConnectionInfo createConnectionInfo();
> +
> +    Definitions createDefinitions();
> +
> +    Destination createDestination();
> +
> +    Headers createHeaders();
> +
> +    OperationProperties createOperationProperties();
> +
> +    Property createProperty();
> +
> +    ResourceAdapter createResourceAdapter();
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/JMSBindingFactory.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,36 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Specifies various properties that are specific to the processing of a 
> particular
> + * operation.
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface OperationProperties extends PropertyList {
> +    Headers getHeaders();
> +
> +    void setHeaders(Headers headers);
> +
> +    String getNativeOperation();
> +
> +    void setNativeOperation(String nativeOperation);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/OperationProperties.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,35 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Specifies the value to use for the specified JMS user property
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface Property {
> +    String getName();
> +
> +    void setName(String name);
> +
> +    String getValue();
> +
> +    void setValue(String type);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/Property.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,31 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +import java.util.List;
> +
> +/**
> + * A list of properties
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface PropertyList {
> +    List<Property> getProperties();
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/PropertyList.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
> Added: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
> URL: 
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java?view=auto&rev=559546
> ==============================================================================
> ---  
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java 
> (added)
> +++ 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java 
> Wed Jul 25 11:12:21 2007
> @@ -0,0 +1,36 @@
> +/*
> + * 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.
> + */
> +
> +package org.apache.tuscany.sca.binding.jms.model;
> +
> +/**
> + * Specifies name, type and properties of the Resource Adapter Java bean. 
> This is required
> + * when the JMS resources are to be created for a JCA 1.5-compliant JMS 
> provider, and is
> + * ignored otherwise. There may be a restriction, depending on the 
> deployment platform,
> + * about specifying properties of the RA Java Bean. For non-JCA 
> 1.5-compliant JMS providers,
> + * information necessary for resource creation must be done in 
> provider-specific elements or
> + * attributes allowed by the extensibility of the binding.jms element.
> + *
> + * @version $Rev$ $Date$
> + */
> +public interface ResourceAdapter extends PropertyList {
> +    String getName();
> +
> +    void setName(String name);
> +}
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Propchange: 
> incubator/tuscany/java/sca/modules/binding-jms/src/main/java/org/apache/tuscany/sca/binding/jms/model/ResourceAdapter.java
> ------------------------------------------------------------------------------
>    svn:keywords = Rev Date
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org