public class HostObjectUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HostObjectUtils.RequiredUserFieldComparator |
static class |
HostObjectUtils.UserFieldComparator |
| Constructor and Description |
|---|
HostObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
checkDataPublishingEnabled() |
static String |
getBackendPort(String transport)
Get the running transport port
|
static String |
getBinaryStorageConfiguration()
Returns binary file storage location configuration
|
static org.apache.axis2.context.ConfigurationContext |
getConfigContext() |
static Map<String,String> |
getDefaultThumbnail(String appName)
Returns the text (key
text) and color (key color) of the default thumbnail based on the specified app name. |
static List<String> |
getEnabledAssetTypes() |
static Map<String,Boolean> |
getSubscriptionConfiguration()
Returns the current subscription configuration values of "EnableSelfSubscription" and
"EnableEnterpriseSubscription" elements, defined in app-manager.xml.
|
static boolean |
isServiceProviderCreateEnabledForSkipGatewayApp()
Get the configuration for create service provider for skip gateway enabled apps
|
static void |
setConfigContextService(org.wso2.carbon.utils.ConfigurationContextService configContext) |
public static void setConfigContextService(org.wso2.carbon.utils.ConfigurationContextService configContext)
public static org.apache.axis2.context.ConfigurationContext getConfigContext()
throws org.wso2.carbon.appmgt.api.AppManagementException
org.wso2.carbon.appmgt.api.AppManagementExceptionpublic static String getBackendPort(String transport)
transport - [http/https]protected static boolean checkDataPublishingEnabled()
public static Map<String,String> getDefaultThumbnail(String appName)
text) and color (key color) of the default thumbnail based on the specified app name.appName - app nameIllegalArgumentException - if appName is null or emptypublic static Map<String,Boolean> getSubscriptionConfiguration()
public static String getBinaryStorageConfiguration()
public static boolean isServiceProviderCreateEnabledForSkipGatewayApp()
Copyright © 2017 WSO2. All rights reserved.