You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ja...@apache.org on 2004/08/04 14:05:43 UTC

cvs commit: ws-fx/sandesha/src/org/apache/sandesha/server AcknowledgementProcessor.java CompositeProcessor.java CreateSequenceProcessor.java IRMMessageProcessor.java RequestProcessor.java ReTransmissionProcessor.java RMMessageProcessorIdentifier.java TerminateSequenceProcessor.java

jaliya      2004/08/04 05:05:43

  Added:       sandesha/src/org/apache/sandesha/server
                        AcknowledgementProcessor.java
                        CompositeProcessor.java
                        CreateSequenceProcessor.java
                        IRMMessageProcessor.java RequestProcessor.java
                        ReTransmissionProcessor.java
                        RMMessageProcessorIdentifier.java
                        TerminateSequenceProcessor.java
  Log:
  Interface and set of classes to process incoming messages
  
  Revision  Changes    Path
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/AcknowledgementProcessor.java
  
  Index: AcknowledgementProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public class AcknowledgementProcessor implements IRMMessageProcessor {
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/CompositeProcessor.java
  
  Index: CompositeProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public class CompositeProcessor implements IRMMessageProcessor {
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/CreateSequenceProcessor.java
  
  Index: CreateSequenceProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public class CreateSequenceProcessor implements IRMMessageProcessor {
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.RMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/IRMMessageProcessor.java
  
  Index: IRMMessageProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public interface IRMMessageProcessor {
  	
  	//Returns true if the message has a synchronous response or ack.
  	public boolean processMessage(RMMessageContext rmMessageContext);
  		
  	public Object getSynchronousResponse();
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/RequestProcessor.java
  
  Index: RequestProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author JEkanayake
   *
   * To change the template for this generated type comment go to
   * Window>Preferences>Java>Code Generation>Code and Comments
   */
  public class RequestProcessor implements IRMMessageProcessor {
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.RMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/ReTransmissionProcessor.java
  
  Index: ReTransmissionProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public class ReTransmissionProcessor implements IRMMessageProcessor {
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.RMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/RMMessageProcessorIdentifier.java
  
  Index: RMMessageProcessorIdentifier.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import javax.xml.soap.SOAPEnvelope;
  
  /**
   * @author 
   * 
   */
  public class RMMessageProcessorIdentifier {
  
  public IRMMessageProcessor getMessageProcessor(SOAPEnvelope soapEnv){
  	return null;
  }
  }
  
  
  
  1.1                  ws-fx/sandesha/src/org/apache/sandesha/server/TerminateSequenceProcessor.java
  
  Index: TerminateSequenceProcessor.java
  ===================================================================
  /*
   * Copyright  1999-2004 The Apache Software Foundation.
   *
   *  Licensed 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.sandesha.server;
  
  import org.apache.sandesha.RMMessageContext;
  
  /**
   * @author 
   */
  public class TerminateSequenceProcessor implements IRMMessageProcessor{
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.RMMessageProcessor#processMessage(org.apache.sandesha.RMMessageContext)
  	 */
  	public boolean processMessage(RMMessageContext rmMessageContext) {
  		// TODO Auto-generated method stub
  		return false;
  	}
  
  	/* (non-Javadoc)
  	 * @see org.apache.sandesha.server.IRMMessageProcessor#getSynchronousResponse()
  	 */
  	public Object getSynchronousResponse() {
  		// TODO Auto-generated method stub
  		return null;
  	}
  
  }