summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/PropertiesAdminI.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-09-18 11:21:00 -0400
committerBernard Normier <bernard@zeroc.com>2007-09-18 11:21:00 -0400
commit15fec2519f3bbea20349aa971f8a76cfa7c83363 (patch)
treebe529a224ece49a857f30e44af2888a95639868f /java/src/IceInternal/PropertiesAdminI.java
parentAdded comment to CHANGES (diff)
downloadice-15fec2519f3bbea20349aa971f8a76cfa7c83363.tar.bz2
ice-15fec2519f3bbea20349aa971f8a76cfa7c83363.tar.xz
ice-15fec2519f3bbea20349aa971f8a76cfa7c83363.zip
Squashed commit of the following:
commit 70a72ca50d39f20ab8d850f0842a8cd2c2a8351d Author: Bernard Normier <bernard@zeroc.com> Date: Tue Sep 18 11:18:19 2007 -0400 Bug fixes commit 2983094468845f39614128cd82973b9c503680a5 Author: Bernard Normier <bernard@zeroc.com> Date: Fri Sep 7 11:00:18 2007 -0400 First commit for bug 1532
Diffstat (limited to 'java/src/IceInternal/PropertiesAdminI.java')
-rw-r--r--java/src/IceInternal/PropertiesAdminI.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/java/src/IceInternal/PropertiesAdminI.java b/java/src/IceInternal/PropertiesAdminI.java
new file mode 100644
index 00000000000..11708f7df12
--- /dev/null
+++ b/java/src/IceInternal/PropertiesAdminI.java
@@ -0,0 +1,50 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package IceInternal;
+
+class PropertiesAdminI extends Ice._PropertiesAdminDisp
+{
+ PropertiesAdminI(Ice.Properties properties)
+ {
+ _properties = properties;
+ }
+
+ public String
+ getProperty(String name, Ice.Current current)
+ {
+ return _properties.getProperty(name);
+ }
+
+ public String
+ getPropertyWithDefault(String name, String dflt, Ice.Current current)
+ {
+ return _properties.getPropertyWithDefault(name, dflt);
+ }
+
+ public int
+ getPropertyAsInt(String name, Ice.Current current)
+ {
+ return _properties.getPropertyAsInt(name);
+ }
+
+ public int
+ getPropertyAsIntWithDefault(String name, int dflt, Ice.Current current)
+ {
+ return _properties.getPropertyAsIntWithDefault(name, dflt);
+ }
+
+ public java.util.Map
+ getPropertiesForPrefix(String name, Ice.Current current)
+ {
+ return _properties.getPropertiesForPrefix(name);
+ }
+
+ private final Ice.Properties _properties;
+}