com.nonesole.persistence.main
Class FrameEnvService

java.lang.Object
  extended by com.nonesole.persistence.main.FrameEnvService

public class FrameEnvService
extends java.lang.Object

Provide service of initialization configuration of environment
Notice:
Value of property (key=frame.config) can not be modified.

Version:
1.0 - build in 2009-08-07
Author:
JACK LEE

Method Summary
 java.util.Properties getFrameEnv()
          Get properties of frame
static FrameEnvService getInstance()
          Get FrameEnvService object
 java.lang.String getProperty(java.lang.String key)
          Get properties of key
 void setProperty(java.lang.String key, java.lang.String value)
          Outside software can register information in frame environment
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FrameEnvService getInstance()
Get FrameEnvService object

Returns:
FrameService object

getFrameEnv

public java.util.Properties getFrameEnv()
Get properties of frame

Returns:
Properties object

getProperty

public java.lang.String getProperty(java.lang.String key)
Get properties of key

Returns:
Properties object

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)
                 throws java.io.IOException,
                        java.net.URISyntaxException
Outside software can register information in frame environment

Parameters:
key -
value -
Throws:
java.io.IOException
java.net.URISyntaxException