diff --git a/app/aem/core/src/main/java/com/cognifide/apm/core/actions/ActionMapperRegistryImpl.java b/app/aem/core/src/main/java/com/cognifide/apm/core/actions/ActionMapperRegistryImpl.java index 399d33fee..6d365ec0d 100644 --- a/app/aem/core/src/main/java/com/cognifide/apm/core/actions/ActionMapperRegistryImpl.java +++ b/app/aem/core/src/main/java/com/cognifide/apm/core/actions/ActionMapperRegistryImpl.java @@ -25,7 +25,6 @@ import com.cognifide.apm.core.Property; import com.cognifide.apm.core.actions.scanner.AnnotatedClassRegistry; import com.cognifide.apm.core.actions.scanner.RegistryChangedListener; -import com.cognifide.apm.main.services.ApmActionsMainService; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import java.util.ArrayList; @@ -57,9 +56,6 @@ public class ActionMapperRegistryImpl implements RegistryChangedListener, Action private static final String BUNDLE_HEADER = "APM-Actions"; - @Reference - private ApmActionsMainService apmActionsMainService; - private AnnotatedClassRegistry registry; private final AtomicReference> mappers = new AtomicReference<>( diff --git a/app/aem/core/src/main/java/com/cognifide/apm/main/services/ApmActionsMainService.java b/app/aem/core/src/main/java/com/cognifide/apm/main/services/ApmActionsMainService.java deleted file mode 100644 index a9491e9a9..000000000 --- a/app/aem/core/src/main/java/com/cognifide/apm/main/services/ApmActionsMainService.java +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * ========================LICENSE_START================================= - * AEM Permission Management - * %% - * Copyright (C) 2013 Wunderman Thompson Technology - * %% - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * =========================LICENSE_END================================== - */ -package com.cognifide.apm.main.services; - -import org.osgi.framework.Constants; -import org.osgi.service.component.annotations.Component; - -@Component( - service = ApmActionsMainService.class, - property = { - Constants.SERVICE_DESCRIPTION + "=APM Actions Main service", - Constants.SERVICE_VENDOR + "=Wunderman Thompson Technology" - } -) -public class ApmActionsMainService { -}