@Deprecated public class JavaUtil extends Object
Constructor and Description |
---|
JavaUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Object |
getObject(org.apache.axiom.om.OMElement omElement)
Deprecated.
returns an object with the type of attibute class.
|
static String |
getResourcePath(String topicName,
String topicStoragePath)
Deprecated.
|
static Subscription |
getSubscription(org.wso2.carbon.registry.core.Resource subscriptionResource)
Deprecated.
creates the subscription object from the subscription resource
|
static String |
getSubscriptionMode(String topicName)
Deprecated.
|
static String |
getValue(org.apache.axiom.om.OMElement omElement,
String localPart)
Deprecated.
|
static boolean |
isAdmin(String username)
Deprecated.
Check if the given user has the admin role privileges
|
public static Object getObject(org.apache.axiom.om.OMElement omElement) throws EventBrokerConfigurationException
omElement
- EventBrokerConfigurationException
public static String getValue(org.apache.axiom.om.OMElement omElement, String localPart)
public static Subscription getSubscription(org.wso2.carbon.registry.core.Resource subscriptionResource)
subscriptionResource
- public static boolean isAdmin(String username) throws EventBrokerException
username
- - the user to be checked for permissionsEventBrokerException
- - if fails to get list of user rolesCopyright © 2022 WSO2. All rights reserved.