001/** 002 * Copyright 2014 Tampere University of Technology, Pori Department 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package service.tut.pori.contentanalysis.reference; 017 018/** 019 * reference definitions 020 * 021 */ 022public final class Definitions { 023 /* services */ 024 /** service name declaration */ 025 public static final String SERVICE_CA_REFERENCE_BACKEND = "carb"; 026 /** service name declaration */ 027 public static final String SERVICE_CA_REFERENCE_CLIENT = "carc"; 028 /** service name declaration */ 029 public static final String SERVICE_CA_REFERENCE_EXAMPLE = "care"; 030 /** service name declaration */ 031 public static final String SERVICE_CA_REFERENCE_SERVER = "cars"; 032 033 /* elements */ 034 /** xml element declaration */ 035 protected static final String ELEMENT_EXAMPLE = "example"; 036 037 /* common */ 038 /** how long to wait before calling callback in async responses */ 039 protected static final long ASYNC_CALLBACK_DELAY = 2000; // in ms 040 041 /* parameters */ 042 /** service method parameter declaration */ 043 protected static final String PARAMETER_TASK_TYPE = "task_type"; 044 045 /** 046 * 047 */ 048 private Definitions(){ 049 // nothing needed 050 } 051}