org.openmobileis.modules.common.database.jdbc
Class JDBCGlobalPropertyFactory

java.lang.Object
  extended byorg.openmobileis.modules.common.database.jdbc.JDBCGlobalPropertyFactory
All Implemented Interfaces:
GlobalPropertyFactory

public class JDBCGlobalPropertyFactory
extends java.lang.Object
implements GlobalPropertyFactory

Title: OpenMobileIS project source
Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
JDBCGlobalPropertyFactory()
           
 
Method Summary
 void deleteProperty(java.lang.String service, java.lang.String key)
           
 Array getAllGlobalProperties()
           
static JDBCGlobalPropertyFactory getManager()
           
 Array getPropertiesForService(java.lang.String service)
           
 GlobalProperty getProperty(java.lang.String service, java.lang.String key)
           
 void storeProperty(GlobalProperty property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCGlobalPropertyFactory

public JDBCGlobalPropertyFactory()
Method Detail

getManager

public static JDBCGlobalPropertyFactory getManager()

getProperty

public GlobalProperty getProperty(java.lang.String service,
                                  java.lang.String key)
                           throws ServiceException
Specified by:
getProperty in interface GlobalPropertyFactory
Throws:
ServiceException

getPropertiesForService

public Array getPropertiesForService(java.lang.String service)
                              throws ServiceException
Specified by:
getPropertiesForService in interface GlobalPropertyFactory
Throws:
ServiceException

getAllGlobalProperties

public Array getAllGlobalProperties()
                             throws ServiceException
Specified by:
getAllGlobalProperties in interface GlobalPropertyFactory
Throws:
ServiceException

storeProperty

public void storeProperty(GlobalProperty property)
                   throws DatabaseException
Specified by:
storeProperty in interface GlobalPropertyFactory
Throws:
DatabaseException

deleteProperty

public void deleteProperty(java.lang.String service,
                           java.lang.String key)
                    throws DatabaseException
Specified by:
deleteProperty in interface GlobalPropertyFactory
Throws:
DatabaseException


Copyright 2006 OpenMobileIS. All Rights Reserved.