Return-Path: Delivered-To: apmail-ws-sandesha-dev-archive@www.apache.org Received: (qmail 9144 invoked from network); 29 Aug 2005 05:34:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2005 05:34:48 -0000 Received: (qmail 79101 invoked by uid 500); 29 Aug 2005 05:34:48 -0000 Delivered-To: apmail-ws-sandesha-dev-archive@ws.apache.org Received: (qmail 78840 invoked by uid 500); 29 Aug 2005 05:34:47 -0000 Mailing-List: contact sandesha-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list sandesha-dev@ws.apache.org Received: (qmail 78827 invoked by uid 99); 29 Aug 2005 05:34:47 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 28 Aug 2005 22:34:46 -0700 Received: (qmail 9115 invoked by uid 65534); 29 Aug 2005 05:34:46 -0000 Message-ID: <20050829053446.9114.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r264077 - in /webservices/sandesha/trunk/src/org/apache/sandesha2/storage: ./ beanmanagers/ beans/ Date: Mon, 29 Aug 2005 05:34:44 -0000 To: sandesha-dev@ws.apache.org From: chamikara@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: chamikara Date: Sun Aug 28 22:34:20 2005 New Revision: 264077 URL: http://svn.apache.org/viewcvs?rev=264077&view=rev Log: Basic classes neede for the Storage layer (termporary and permanenet) Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CRUD.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RetransmitterBeanMgr.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/StorageMapBeanMgr.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RMBean.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RetransmitterBean.java webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/StorageMapBean.java Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CRUD.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CRUD.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CRUD.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CRUD.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,34 @@ +/* + * 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.sandesha2.storage.beanmanagers; + +import org.apache.sandesha2.storage.beans.RMBean; + +/** + * @author + * + */ +public interface CRUD { + + boolean create (RMBean object); + RMBean retrieve (String primaryKey); + boolean update (RMBean bean); + boolean delete (String primaryKey); + + +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/CreateSeqBeanMgr.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,43 @@ +/* + * 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.sandesha2.storage.beanmanagers; + +import org.apache.sandesha2.storage.beans.RMBean; + +/** + * @author + * + */ +public class CreateSeqBeanMgr implements CRUD { + + public boolean create(RMBean object) { + return false; + } + + public boolean delete(String primaryKey) { + return false; + } + + public RMBean retrieve(String primaryKey) { + return null; + } + + public boolean update(RMBean bean) { + return false; + } +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/NextMsgBeanMgr.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,43 @@ +/* + * 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.sandesha2.storage.beanmanagers; + +import org.apache.sandesha2.storage.beans.RMBean; + +/** + * @author + * + */ +public class NextMsgBeanMgr implements CRUD { + + public boolean create(RMBean object) { + return false; + } + + public boolean delete(String primaryKey) { + return false; + } + + public RMBean retrieve(String primaryKey) { + return null; + } + + public boolean update(RMBean bean) { + return false; + } +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RetransmitterBeanMgr.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RetransmitterBeanMgr.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RetransmitterBeanMgr.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/RetransmitterBeanMgr.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,43 @@ +/* + * 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.sandesha2.storage.beanmanagers; + +import org.apache.sandesha2.storage.beans.RMBean; + +/** + * @author + * + */ +public class RetransmitterBeanMgr implements CRUD { + + public boolean create(RMBean object) { + return false; + } + + public boolean delete(String primaryKey) { + return false; + } + + public RMBean retrieve(String primaryKey) { + return null; + } + + public boolean update(RMBean bean) { + return false; + } +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/StorageMapBeanMgr.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/StorageMapBeanMgr.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/StorageMapBeanMgr.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beanmanagers/StorageMapBeanMgr.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,43 @@ +/* + * 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.sandesha2.storage.beanmanagers; + +import org.apache.sandesha2.storage.beans.RMBean; + +/** + * @author + * + */ +public class StorageMapBeanMgr implements CRUD { + + public boolean create(RMBean object) { + return false; + } + + public boolean delete(String primaryKey) { + return false; + } + + public RMBean retrieve(String primaryKey) { + return null; + } + + public boolean update(RMBean bean) { + return false; + } +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/CreateSeqBean.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,29 @@ +/* + * 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.sandesha2.storage.beans; + +/** + * @author + * + */ + +public class CreateSeqBean implements RMBean { + + String CreateSeqMsgId; + String SequenceId; +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/NextMsgBean.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,29 @@ +/* + * 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.sandesha2.storage.beans; + +/** + * @author + * + */ +public class NextMsgBean implements RMBean { + + String SequenceId; + String NextMsgNoToProcess; + +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RMBean.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RMBean.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RMBean.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RMBean.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,26 @@ +/* + * 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.sandesha2.storage.beans; + +/** + * @author + * + */ +public interface RMBean { + +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RetransmitterBean.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RetransmitterBean.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RetransmitterBean.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/RetransmitterBean.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,32 @@ +/* + * 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.sandesha2.storage.beans; + +/** + * @author + * + */ +public class RetransmitterBean implements RMBean{ + + String MessageId; + String Key; + String LastSentTime; + boolean Send; + String CreateSeqMsgId; + +} Added: webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/StorageMapBean.java URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/StorageMapBean.java?rev=264077&view=auto ============================================================================== --- webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/StorageMapBean.java (added) +++ webservices/sandesha/trunk/src/org/apache/sandesha2/storage/beans/StorageMapBean.java Sun Aug 28 22:34:20 2005 @@ -0,0 +1,29 @@ +/* + * 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.sandesha2.storage.beans; + +/** + * @author + * + */ +public class StorageMapBean implements RMBean { + + String Key; + int MsgNo; + String sequenceId; +} --------------------------------------------------------------------- To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org For additional commands, e-mail: sandesha-dev-help@ws.apache.org