Loading src/main/cxf/com/inteligr8/alfresco/activiti/ApsProtectedRestApiCxfImpl.java 0 → 100644 +39 −0 Original line number Diff line number Diff line /* * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see <https://www.gnu.org/licenses/>. */ package com.inteligr8.alfresco.activiti; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Component; /** * This class provides the Apache CXF client to the JAX-RS API for the Activiti * & APS public ReST APIs and some non-public APS ReST APIs. * * @author brian@inteligr8.com */ @Component("aps.protected-api.cxf") @Lazy public class ApsProtectedRestApiCxfImpl extends ApsProtectedRestApiImpl implements ApsPublicRestCxfApi { /** * This constructor is for Spring or POJO use */ @Autowired public ApsProtectedRestApiCxfImpl(ApsClientCxfImpl client) { super(client); } } Loading
src/main/cxf/com/inteligr8/alfresco/activiti/ApsProtectedRestApiCxfImpl.java 0 → 100644 +39 −0 Original line number Diff line number Diff line /* * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see <https://www.gnu.org/licenses/>. */ package com.inteligr8.alfresco.activiti; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Component; /** * This class provides the Apache CXF client to the JAX-RS API for the Activiti * & APS public ReST APIs and some non-public APS ReST APIs. * * @author brian@inteligr8.com */ @Component("aps.protected-api.cxf") @Lazy public class ApsProtectedRestApiCxfImpl extends ApsProtectedRestApiImpl implements ApsPublicRestCxfApi { /** * This constructor is for Spring or POJO use */ @Autowired public ApsProtectedRestApiCxfImpl(ApsClientCxfImpl client) { super(client); } }