com.ibm.di.api.remote.impl
Class TDIPropertiesImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by com.ibm.di.api.remote.impl.TDIPropertiesImpl
All Implemented Interfaces:
TDIProperties, Serializable, Remote

public class TDIPropertiesImpl
extends UnicastRemoteObject
implements TDIProperties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
 void addPropertyStore(PropertyStoreConfig config)
           
 void commit()
           
static TDIPropertiesImpl createInstance(TDIProperties localTDIP, SessionImpl aSession)
           
 TDIPropertyStore getDefaultStore()
           
 TDIPropertyStore getPasswordStore()
           
 Object getProperty(String key)
           
 Object getProperty(String propertyStoreName, String key)
           
 TDIPropertyStore getPropertyStore(String name)
           
 String[] getPropertyStoreKeys(String propertyStoreName)
           
 List getPropertyStoreNames()
           
 void insertPropertyStore(PropertyStoreConfig config, int atIndex)
           
 boolean isPropertyEncrypted(String propertyStoreName, String key)
           
 void removeProperty(String propertyStoreName, String key)
           
 void removePropertyStore(String propertyStoreName)
           
 void setDefaultStore(TDIPropertyStore defaultStore)
           
 void setPasswordStore(TDIPropertyStore passwordStore)
           
 TDIPropertyStore setProperty(String key, Object value)
           
 TDIPropertyStore setProperty(String key, Object value, boolean protect)
           
 void setProperty(String propertyStoreName, String key, Object value)
           
 void setProperty(String propertyStoreName, String key, Object value, boolean protect)
           
 String trimKey(String key)
           
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

commit

public void commit()
            throws RemoteException,
                   Exception
Specified by:
commit in interface TDIProperties
Throws:
RemoteException
Exception

getProperty

public Object getProperty(String key)
                   throws RemoteException,
                          Exception
Specified by:
getProperty in interface TDIProperties
Throws:
RemoteException
Exception

setProperty

public TDIPropertyStore setProperty(String key,
                                    Object value)
                             throws RemoteException,
                                    Exception
Specified by:
setProperty in interface TDIProperties
Throws:
RemoteException
Exception

setProperty

public TDIPropertyStore setProperty(String key,
                                    Object value,
                                    boolean protect)
                             throws RemoteException,
                                    Exception
Specified by:
setProperty in interface TDIProperties
Throws:
RemoteException
Exception

removeProperty

public void removeProperty(String propertyStoreName,
                           String key)
                    throws RemoteException,
                           Exception
Specified by:
removeProperty in interface TDIProperties
Throws:
RemoteException
Exception

getProperty

public Object getProperty(String propertyStoreName,
                          String key)
                   throws RemoteException,
                          Exception
Specified by:
getProperty in interface TDIProperties
Throws:
RemoteException
Exception

setProperty

public void setProperty(String propertyStoreName,
                        String key,
                        Object value)
                 throws RemoteException,
                        Exception
Specified by:
setProperty in interface TDIProperties
Throws:
RemoteException
Exception

getPropertyStoreKeys

public String[] getPropertyStoreKeys(String propertyStoreName)
                              throws RemoteException,
                                     Exception
Specified by:
getPropertyStoreKeys in interface TDIProperties
Throws:
RemoteException
Exception

addPropertyStore

public void addPropertyStore(PropertyStoreConfig config)
                      throws RemoteException,
                             Exception
Specified by:
addPropertyStore in interface TDIProperties
Throws:
RemoteException
Exception

insertPropertyStore

public void insertPropertyStore(PropertyStoreConfig config,
                                int atIndex)
                         throws RemoteException,
                                Exception
Specified by:
insertPropertyStore in interface TDIProperties
Throws:
RemoteException
Exception

removePropertyStore

public void removePropertyStore(String propertyStoreName)
                         throws RemoteException,
                                Exception
Specified by:
removePropertyStore in interface TDIProperties
Throws:
RemoteException
Exception

getPropertyStoreNames

public List getPropertyStoreNames()
                           throws Exception,
                                  RemoteException
Specified by:
getPropertyStoreNames in interface TDIProperties
Throws:
Exception
RemoteException

getDefaultStore

public TDIPropertyStore getDefaultStore()
                                 throws Exception,
                                        RemoteException
Specified by:
getDefaultStore in interface TDIProperties
Throws:
Exception
RemoteException

setDefaultStore

public void setDefaultStore(TDIPropertyStore defaultStore)
                     throws Exception,
                            RemoteException
Specified by:
setDefaultStore in interface TDIProperties
Throws:
Exception
RemoteException

getPasswordStore

public TDIPropertyStore getPasswordStore()
                                  throws Exception,
                                         RemoteException
Specified by:
getPasswordStore in interface TDIProperties
Throws:
Exception
RemoteException

setPasswordStore

public void setPasswordStore(TDIPropertyStore passwordStore)
                      throws Exception,
                             RemoteException
Specified by:
setPasswordStore in interface TDIProperties
Throws:
Exception
RemoteException

getPropertyStore

public TDIPropertyStore getPropertyStore(String name)
                                  throws Exception,
                                         RemoteException
Specified by:
getPropertyStore in interface TDIProperties
Throws:
Exception
RemoteException

trimKey

public String trimKey(String key)
               throws Exception,
                      RemoteException
Specified by:
trimKey in interface TDIProperties
Throws:
Exception
RemoteException

setProperty

public void setProperty(String propertyStoreName,
                        String key,
                        Object value,
                        boolean protect)
                 throws RemoteException,
                        Exception
Specified by:
setProperty in interface TDIProperties
Throws:
RemoteException
Exception

isPropertyEncrypted

public boolean isPropertyEncrypted(String propertyStoreName,
                                   String key)
                            throws Exception,
                                   RemoteException
Specified by:
isPropertyEncrypted in interface TDIProperties
Throws:
Exception
RemoteException

createInstance

public static TDIPropertiesImpl createInstance(TDIProperties localTDIP,
                                               SessionImpl aSession)
                                        throws DIException,
                                               RemoteException
Throws:
DIException
RemoteException