Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.osgi.annotation.bundle.Capability;
import org.wso2.carbon.identity.action.execution.api.exception.ActionExecutionException;
import org.wso2.carbon.identity.action.execution.api.exception.ActionExecutionRequestBuilderException;
import org.wso2.carbon.identity.action.execution.api.exception.ActionExecutionResponseProcessorException;
Expand Down Expand Up @@ -83,6 +84,13 @@
* It is responsible for building the request payload, calling the API, processing the response and
* returning the status of the action execution.
*/
@Capability(
namespace = "osgi.service",
attribute = {
"objectClass=org.wso2.carbon.identity.action.execution.api.service.ActionExecutorService",
"service.scope=singleton"
}
)
public class ActionExecutorServiceImpl implements ActionExecutorService {

private static final Log LOG = LogFactory.getLog(ActionExecutorServiceImpl.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.osgi.annotation.bundle.Capability;
import org.wso2.carbon.identity.action.management.api.exception.ActionMgtException;
import org.wso2.carbon.identity.action.management.api.model.Action;
import org.wso2.carbon.identity.action.management.api.model.Authentication;
Expand All @@ -35,6 +36,13 @@
/**
* CacheBackedActionManagementService act as the caching layer for the Action Management Service.
*/
@Capability(
namespace = "osgi.service",
attribute = {
"objectClass=org.wso2.carbon.identity.action.management.api.service.ActionManagementService",
"service.scope=singleton"
}
)
public class CacheBackedActionManagementService implements ActionManagementService {

private static final CacheBackedActionManagementService INSTANCE = new CacheBackedActionManagementService();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package org.wso2.carbon.identity.api.resource.mgt;

import org.apache.commons.lang.StringUtils;
import org.osgi.annotation.bundle.Capability;
import org.wso2.carbon.identity.api.resource.mgt.constant.APIResourceManagementConstants;
import org.wso2.carbon.identity.api.resource.mgt.dao.impl.APIResourceManagementDAOImpl;
import org.wso2.carbon.identity.api.resource.mgt.dao.impl.CacheBackedAPIResourceMgtDAO;
Expand All @@ -38,6 +39,13 @@
/**
* API resource management service.
*/
@Capability(
namespace = "osgi.service",
attribute = {
"objectClass=org.wso2.carbon.identity.api.resource.mgt.APIResourceManager",
"service.scope=singleton"
}
)
public class APIResourceManagerImpl implements APIResourceManager {

private static final APIResourceManager INSTANCE = new APIResourceManagerImpl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.commons.lang3.SerializationUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.osgi.annotation.bundle.Capability;
import org.w3c.dom.Document;
import org.wso2.carbon.CarbonConstants;
import org.wso2.carbon.context.CarbonContext;
Expand Down Expand Up @@ -194,6 +195,13 @@
/**
* Application management service implementation.
*/
@Capability(
namespace = "osgi.service",
attribute = {
"objectClass=org.wso2.carbon.identity.application.mgt.ApplicationManagementService",
"service.scope=singleton"
}
)
public class ApplicationManagementServiceImpl extends ApplicationManagementService {

private static final Log log = LogFactory.getLog(ApplicationManagementServiceImpl.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<artifactId>org.wso2.carbon.identity.user.profile</artifactId>
</dependency>
<dependency>
<groupId>org.wso2.eclipse.osgi</groupId>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.services</artifactId>
</dependency>
<dependency>
Expand Down Expand Up @@ -265,7 +265,6 @@
<Import-Package>
javax.xml.namespace,
javax.xml.stream,
org.eclipse.equinox.http.helper,

javax.servlet.*; version="${imp.pkg.version.javax.servlet}",
org.apache.axiom.*; version="${axiom.osgi.version.range}",
Expand Down

This file was deleted.

Loading
Loading