org.exolab.jms.tools.migration.proxy
Class PropertyStore
java.lang.Object
org.exolab.jms.tools.migration.proxy.PropertyStore
public class PropertyStore
- extends java.lang.Object
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
- See Also:
- Constant Field Values
DESTINATION_TABLE
public static final java.lang.String DESTINATION_TABLE
- See Also:
- Constant Field Values
MESSAGE_TABLE
public static final java.lang.String MESSAGE_TABLE
- See Also:
- Constant Field Values
MESSAGE_PROPERTIES_TABLE
public static final java.lang.String MESSAGE_PROPERTIES_TABLE
- See Also:
- Constant Field Values
CONSUMER_TABLE
public static final java.lang.String CONSUMER_TABLE
- See Also:
- Constant Field Values
SUBSCRIPTION_TABLE
public static final java.lang.String SUBSCRIPTION_TABLE
- See Also:
- Constant Field Values
MESSAGE_HANDLE_TABLE
public static final java.lang.String MESSAGE_HANDLE_TABLE
- See Also:
- Constant Field Values
USER_TABLE
public static final java.lang.String USER_TABLE
- See Also:
- Constant Field Values
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-2012 The OpenJMS Group. All Rights Reserved.