001: // @@
002: // @@
003: /*
004: * Wi.Ser Framework
005: *
006: * LGPL Version: 1.8.1, 20-September-2007
007: * Copyright (C) 2005-2006 Dirk von der Weiden <dvdw@imail.de>
008: *
009: * This library is free software; you can redistribute it and/or
010: * modify it under the terms of the GNU Lesser General Public
011: * License as published by the Free Software Foundation; either
012: * version 2 of the License, or (at your option) any later version.
013: *
014: * This library is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
017: * Lesser General Public License for more details.
018: *
019: * You should have received a copy of the GNU Lesser General Public
020: * License along with this library located in LGPL.txt in the
021: * license directory; if not, write to the
022: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
023: * Boston, MA 02111-1307, USA.
024: *
025: * If this agreement does not cover your requirements, please contact us
026: * via email to get detailed information about the commercial license
027: * or our service offerings!
028: *
029: */
030: // @@
031: package de.ug2t.connector;
032:
033: import java.util.*;
034:
035: public class CoSynchronizedXmlParameterGetter implements
036: ICoXmlParameterGetter {
037: private CoXmlParameterGetter pem_getter = null;
038:
039: public CoSynchronizedXmlParameterGetter(CoXmlParameterGetter xGetter) {
040: this .pem_getter = xGetter;
041: }
042:
043: public synchronized void pcmf_cleanCluster(String xSource,
044: String xCluster) {
045: pem_getter.pcmf_cleanCluster(xSource, xCluster);
046: }
047:
048: public synchronized Iterator pcmf_getKeys(String Source,
049: String xCluster) {
050: return pem_getter.pcmf_getKeys(Source, xCluster);
051: }
052:
053: public synchronized Iterator pcmf_getKeys(String xCluster) {
054: return pem_getter.pcmf_getKeys(xCluster);
055: }
056:
057: public boolean pcmf_existsCluster(String xSource, String xCluster) {
058: return pem_getter.pcmf_existsCluster(xSource, xCluster);
059: }
060:
061: public synchronized Object pcmf_getParameter(String xSource,
062: String xCluster, String xKey) {
063: return pem_getter.pcmf_getParameter(xSource, xCluster, xKey);
064: }
065:
066: public synchronized Object pcmf_getParameter(String xCluster,
067: String xKey) {
068: return pem_getter.pcmf_getParameter(xCluster, xKey);
069: }
070:
071: public synchronized Object pcmf_getParameter(String xKey) {
072: return pem_getter.pcmf_getParameter(xKey);
073: }
074:
075: public synchronized String pcmf_getParameterString(String xSource,
076: String xCluster, String xKey) {
077: return pem_getter.pcmf_getParameterString(xSource, xCluster,
078: xKey);
079: }
080:
081: public synchronized String pcmf_getParameterString(String xCluster,
082: String xKey) {
083: return pem_getter.pcmf_getParameterString(xCluster, xKey);
084: }
085:
086: public synchronized String pcmf_getParameterString(String xKey) {
087: return pem_getter.pcmf_getParameterString(xKey);
088: }
089:
090: public synchronized void pcmf_removeSource(String xSource) {
091: pem_getter.pcmf_removeSource(xSource);
092: }
093:
094: public synchronized int pcmf_setRoot(String xSource, String xCluster) {
095: return pem_getter.pcmf_setRoot(xSource, xCluster);
096: }
097:
098: public synchronized String toString() {
099: return pem_getter.toString();
100: }
101:
102: public synchronized Object pcmf_addCluster(String xSource,
103: String xCluster) {
104: return (this .pem_getter.pcmf_addCluster(xSource, xCluster));
105: }
106:
107: public synchronized void pcmf_addSource(String xSource)
108: throws Exception {
109: this .pem_getter.pcmf_addSource(xSource);
110: }
111:
112: public synchronized void pcmf_addSourceReNew(String xSource)
113: throws Exception {
114: this .pem_getter.pcmf_addSourceReNew(xSource);
115: }
116:
117: public synchronized void pcmf_addSourceURIReNew(String xSource)
118: throws Exception {
119: this .pem_getter.pcmf_addSourceURIReNew(xSource);
120: }
121:
122: public synchronized Iterator pcmf_getClusterKeys() {
123: return (this .pem_getter.pcmf_getClusterKeys());
124: }
125:
126: public synchronized Iterator pcmf_getClusterKeys(String xSource) {
127: return (this .pem_getter.pcmf_getClusterKeys(xSource));
128: }
129:
130: public synchronized Object pcmf_removeCluster(String xSource,
131: String xCluster) {
132: return (this .pem_getter.pcmf_removeCluster(xSource, xCluster));
133: }
134:
135: public synchronized Object pcmf_removeParameter(String xSource,
136: String xCluster, String xKey) {
137: return (this .pem_getter.pcmf_removeParameter(xSource, xCluster,
138: xKey));
139: }
140:
141: public synchronized Object pcmf_setParameter(String xKey,
142: Object xValue) {
143: return (this .pem_getter.pcmf_setParameter(xKey, xValue));
144: }
145:
146: public synchronized Object pcmf_setParameter(String xCluster,
147: String xKey, Object xValue) {
148: return (this .pem_getter.pcmf_setParameter(xCluster, xKey,
149: xValue));
150: }
151:
152: public synchronized Object pcmf_setParameter(String xSource,
153: String xCluster, String xKey, Object xValue) {
154: return (this .pem_getter.pcmf_setParameter(xSource, xCluster,
155: xKey, xValue));
156: }
157:
158: public synchronized void pcmf_setSource(String xSource)
159: throws Exception {
160: this .pem_getter.pcmf_setSource(xSource);
161: }
162:
163: public synchronized void pcmf_setSourceURI(String xSource)
164: throws Exception {
165: this .pem_getter.pcmf_setSourceURI(xSource);
166: }
167:
168: public synchronized void pcmf_setActiveSource(String xSource) {
169: this.pem_getter.pcmf_setActiveSource(xSource);
170: }
171: }
|