summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/PropertiesAdminI.java
blob: 094c9eaf6eef1ec123f6b244d46f970fa1d21682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// **********************************************************************
//
// Copyright (c) 2003-2008 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 java.util.TreeMap<String, String>
    getPropertiesForPrefix(String name, Ice.Current current)
    {
        return new java.util.TreeMap<String, String>(_properties.getPropertiesForPrefix(name));
    }
    
    private final Ice.Properties _properties;
}