@@ -0,0 +1,815 @@
+/*%0D%0A * Copyright 2010-2012 swisscom.com, Inc. or its affiliates. All Rights Reserved.%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22).%0D%0A * You may not use this file except in compliance with the License.%0D%0A *%0D%0A * This file is distributed%0D%0A * on an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either%0D%0A * express or implied. See the License for the specific language governing%0D%0A * permissions and limitations under the License.%0D%0A */%0D%0Apackage com.swisscom.refimpl.control;%0D%0A%0D%0Aimport javax.inject.Named;%0D%0A%0D%0A/**%0D%0A * %0D%0A * @author %3Ca href=%22alexander.schamne@swisscom.com%22%3EAlexander Schamne%3C/a%3E%0D%0A *%0D%0A */%0D%0A@Named%0D%0Apublic class CheckConfig %7B%0D%0A%09%0D%0A%09public boolean isWellConfigured()%7B%0D%0A%09%09return System.getProperty(%22sec.key%22) != null && System.getProperty(%22merchant.id%22) != null;%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

check config