|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.deployment.synchronizer.registry.RegistryUtils
public class RegistryUtils
| Constructor Summary | |
|---|---|
RegistryUtils()
|
|
| Method Summary | |
|---|---|
static String |
getAbsoluteRegistryPath(String registryPath,
String basePath)
Calculate and return the absolute path of a resource |
static String |
getEventReceiverEndpoint()
Returns the endpoint URL of the AutoCheckoutService |
static String |
subscribeForRegistryEvents(org.wso2.carbon.registry.core.session.UserRegistry registry,
String absolutePath,
String endpoint)
Subscribe for events on a given registry collection |
static boolean |
unsubscribeForRegistryEvents(String subscriptionId,
int tenantId)
Unsubscribe from registry events |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegistryUtils()
| Method Detail |
|---|
public static String getAbsoluteRegistryPath(String registryPath,
String basePath)
registryPath - The relative path of the resourcebasePath - Base path of the registry partition
public static String subscribeForRegistryEvents(org.wso2.carbon.registry.core.session.UserRegistry registry,
String absolutePath,
String endpoint)
throws DeploymentSynchronizerException
registry - Registry space in which the target collection residesabsolutePath - Absolute path of the collectionendpoint - The endpoint which should receive the events
DeploymentSynchronizerException - If the subscription operation fails
public static boolean unsubscribeForRegistryEvents(String subscriptionId,
int tenantId)
subscriptionId - ID of an existing subscriptiontenantId - Current tenant ID
public static String getEventReceiverEndpoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||