root/trunk/components/blitz/src/ome/services/blitz/impl/ConfigI.java
| Revision 2720, 1.9 kB (checked in by jmoore, 3 months ago) |
|---|
| Line | |
|---|---|
| 1 | /* |
| 2 | * $Id$ |
| 3 | * |
| 4 | * Copyright 2008 Glencoe Software, Inc. All rights reserved. |
| 5 | * Use is subject to license terms supplied in LICENSE.txt |
| 6 | */ |
| 7 | |
| 8 | package ome.services.blitz.impl; |
| 9 | |
| 10 | // Java imports |
| 11 | import ome.api.IConfig; |
| 12 | import ome.services.blitz.util.BlitzExecutor; |
| 13 | import omero.ServerError; |
| 14 | import omero.api.AMD_IConfig_getConfigValue; |
| 15 | import omero.api.AMD_IConfig_getDatabaseTime; |
| 16 | import omero.api.AMD_IConfig_getServerTime; |
| 17 | import omero.api.AMD_IConfig_getVersion; |
| 18 | import omero.api.AMD_IConfig_setConfigValue; |
| 19 | import omero.api._IConfigOperations; |
| 20 | import Ice.Current; |
| 21 | |
| 22 | /** |
| 23 | * Implementation of the IConfig service. |
| 24 | * |
| 25 | * @author Josh Moore, josh at glencoesoftware.com |
| 26 | * @since 3.0-Beta4 |
| 27 | * @see ome.api.IConfig |
| 28 | */ |
| 29 | public class ConfigI extends AbstractAmdServant implements _IConfigOperations { |
| 30 | |
| 31 | public ConfigI(IConfig service, BlitzExecutor be) { |
| 32 | super(service, be); |
| 33 | } |
| 34 | |
| 35 | // Interface methods |
| 36 | // ========================================================================= |
| 37 | |
| 38 | public void getConfigValue_async(AMD_IConfig_getConfigValue __cb, |
| 39 | String key, Current __current) throws ServerError { |
| 40 | callInvokerOnRawArgs(__cb, __current, key); |
| 41 | } |
| 42 | |
| 43 | public void getDatabaseTime_async(AMD_IConfig_getDatabaseTime __cb, |
| 44 | Current __current) throws ServerError { |
| 45 | callInvokerOnRawArgs(__cb, __current); |
| 46 | } |
| 47 | |
| 48 | public void getServerTime_async(AMD_IConfig_getServerTime __cb, |
| 49 | Current __current) throws ServerError { |
| 50 | callInvokerOnRawArgs(__cb, __current); |
| 51 | } |
| 52 | |
| 53 | public void getVersion_async(AMD_IConfig_getVersion __cb, Current __current) |
| 54 | throws ServerError { |
| 55 | callInvokerOnRawArgs(__cb, __current); |
| 56 | } |
| 57 | |
| 58 | public void setConfigValue_async(AMD_IConfig_setConfigValue __cb, |
| 59 | String key, String value, Current __current) throws ServerError { |
| 60 | callInvokerOnRawArgs(__cb, __current, key, value); |
| 61 | } |
| 62 | |
| 63 | } |
Note: See TracBrowser
for help on using the browser.
