]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
bdb76b2e9c58bffe79bf128e1e79e0b9a5cd88d8
[tmp/jakarta-migration.git] /
1 /**     
2  * This document is a part of the source code and related artifacts
3  * for CollectionSpace, an open source collections management system
4  * for museums and related institutions:
5  *
6  * http://www.collectionspace.org
7  * http://wiki.collectionspace.org
8  *
9  * Copyright (c) 2009 Regents of the University of California
10  *
11  * Licensed under the Educational Community License (ECL), Version 2.0.
12  * You may not use this file except in compliance with this License.
13  *
14  * You may obtain a copy of the ECL 2.0 License at
15  * https://source.collectionspace.org/collection-space/LICENSE.txt
16  */
17 package org.collectionspace.services.client;
18
19 import org.collectionspace.services.conservation.ConservationCommon;
20
21 /**
22  * ConservationClient.java
23  *
24  * $LastChangedRevision$
25  * $LastChangedDate$
26  *
27  */
28 public class ConservationClient extends AbstractCommonListPoxServiceClientImpl<ConservationProxy, ConservationCommon> {
29
30     public static final String SERVICE_NAME = "conservation";
31     public static final String SERVICE_PATH_COMPONENT = SERVICE_NAME;
32     public static final String SERVICE_PATH = "/" + SERVICE_PATH_COMPONENT;
33     public static final String SERVICE_PATH_PROXY = SERVICE_PATH + "/";
34     public static final String SERVICE_PAYLOAD_NAME = SERVICE_NAME;
35
36     public ConservationClient() {
37                 super();
38         }
39
40     public ConservationClient(String clientPropertiesFilename) {
41                 super(clientPropertiesFilename);
42         }
43
44         /* (non-Javadoc)
45      * @see org.collectionspace.services.client.AbstractServiceClientImpl#getServicePathComponent()
46      */
47     @Override
48     public String getServicePathComponent() {
49         return SERVICE_PATH_COMPONENT;
50     }
51
52     @Override
53     public String getServiceName() {
54         return SERVICE_NAME;
55     }
56
57     @Override
58     public Class<ConservationProxy> getProxyClass() {
59         return ConservationProxy.class;
60     }
61
62 }