[jbossws-commits] JBossWS SVN: r3708 - in branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions: rx and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Sat Jun 23 19:13:52 EDT 2007


Author: richard_opalka
Date: 2007-06-23 19:13:52 -0400 (Sat, 23 Jun 2007)
New Revision: 3708

Added:
   branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/
   branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/Sequence.java
   branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceEvent.java
   branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceException.java
   branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceListener.java
Log:
first classes and interfaces

Added: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/Sequence.java
===================================================================
--- branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/Sequence.java	                        (rev 0)
+++ branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/Sequence.java	2007-06-23 23:13:52 UTC (rev 3708)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.extensions.rx;
+
+/**
+ * TODO: javadoc
+ * @author opalka.richard at gmail.com
+ */
+public interface Sequence
+{
+
+   /**
+    * Sequence state constants.
+    */
+   public enum State {
+      NONE, CREATING, CREATED, CLOSING, CLOSED, TERMINATING 
+   }
+   
+   String getId();
+   
+   // TODO: provide other sequence methods
+}


Property changes on: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/Sequence.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceEvent.java
===================================================================
--- branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceEvent.java	                        (rev 0)
+++ branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceEvent.java	2007-06-23 23:13:52 UTC (rev 3708)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.extensions.rx;
+
+/**
+ * TODO: javadoc
+ * @author opalka.richard at gmail.com
+ * @see org.jboss.ws.extensions.rx.SequenceListener
+ */
+public interface SequenceEvent
+{
+   Sequence.State getOldState();
+   Sequence.State getNewState();
+   Sequence getSequence();
+}


Property changes on: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceEvent.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceException.java
===================================================================
--- branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceException.java	                        (rev 0)
+++ branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceException.java	2007-06-23 23:13:52 UTC (rev 3708)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.extensions.rx;
+
+import javax.xml.ws.WebServiceException;
+
+/**
+ * TODO: javadoc
+ * @author opalka.richard at gmail.com
+ */
+public class SequenceException extends WebServiceException
+{
+   // TODO: provide RX failure specific methods
+
+   public SequenceException()
+   {
+   }
+
+   public SequenceException(String message)
+   {
+      super(message);
+   }
+
+   public SequenceException(Throwable cause)
+   {
+      super(cause);
+   }
+
+   public SequenceException(String message, Throwable cause)
+   {
+      super(message, cause);
+   }
+
+}


Property changes on: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceException.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceListener.java
===================================================================
--- branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceListener.java	                        (rev 0)
+++ branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceListener.java	2007-06-23 23:13:52 UTC (rev 3708)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ws.extensions.rx;
+
+/**
+ * TODO: javadoc
+ * @author opalka.richard at gmail.com
+ * @see org.jboss.ws.extensions.rx.SequenceEvent
+ */
+public interface SequenceListener
+{
+   
+   /**
+    * Invoked when the sequence is created.
+    */
+   void sequenceCreated(SequenceEvent event);
+   
+   /**
+    * Invoked when the sequence is acknowledged.
+    */
+   void sequenceAcknowledged(SequenceEvent event);
+
+   /**
+    * Invoked when the sequence is closed.
+    */
+   void sequenceClosed(SequenceEvent event);
+   
+   /**
+    * Invoked when the sequence is terminated.
+    */
+   void sequenceTerminated(SequenceEvent event);
+
+   /**
+    * Invoked when the sequence fault is detected.
+    */
+   void sequenceException(SequenceEvent event, SequenceException reason);
+
+}


Property changes on: branches/ropalka/jbossws-core/src/main/java/org/jboss/ws/extensions/rx/SequenceListener.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list