org.exolab.jms.tools.migration.proxy
Class PropertyStore
java.lang.Object
|
+--org.exolab.jms.tools.migration.proxy.PropertyStore
- All Implemented Interfaces:
- org.exolab.jms.tools.migration.proxy.DBConstants
- public class PropertyStore
- extends java.lang.Object
- implements org.exolab.jms.tools.migration.proxy.DBConstants
Stores migration version information.
- Version:
- $Revision: 1.2 $ $Date: 2005/10/20 14:07:03 $
- Author:
- Tim Anderson
Constructor Summary |
PropertyStore(java.sql.Connection connection)
Construct a new PropertyStore . |
Method Summary |
void |
add(java.lang.String name,
java.lang.String value)
Add a property. |
java.lang.String |
get(java.lang.String name)
Returns the value of a property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTIES_TABLE
public static final java.lang.String PROPERTIES_TABLE
DESTINATION_TABLE
public static final java.lang.String DESTINATION_TABLE
MESSAGE_TABLE
public static final java.lang.String MESSAGE_TABLE
MESSAGE_PROPERTIES_TABLE
public static final java.lang.String MESSAGE_PROPERTIES_TABLE
CONSUMER_TABLE
public static final java.lang.String CONSUMER_TABLE
SUBSCRIPTION_TABLE
public static final java.lang.String SUBSCRIPTION_TABLE
MESSAGE_HANDLE_TABLE
public static final java.lang.String MESSAGE_HANDLE_TABLE
USER_TABLE
public static final java.lang.String USER_TABLE
PropertyStore
public PropertyStore(java.sql.Connection connection)
throws org.exolab.jms.persistence.PersistenceException
- Construct a new
PropertyStore
.
- Parameters:
connection
- the database connection- Throws:
org.exolab.jms.persistence.PersistenceException
- for any persistence error
add
public void add(java.lang.String name,
java.lang.String value)
throws org.exolab.jms.persistence.PersistenceException
- Add a property.
- Parameters:
name
- the property namevalue
- the property value- Throws:
org.exolab.jms.persistence.PersistenceException
- for any persistence error
get
public java.lang.String get(java.lang.String name)
- Returns the value of a property.
- Parameters:
name
- the property name- Returns:
- the value of the property, or
null
if it doesn't
exist
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.