| Modifier and Type | Class and Description |
|---|---|
class |
InvalidModuleException
Signals that a submitted JAR file does not correspond to a valid OSGi module.
|
class |
InvalidModuleKeyException
Indicates wrong bundle key format, e.g.
|
class |
InvalidTargetException
Signals that a submitted target for module operation is not valid.
|
class |
ModuleManagementInvalidArgumentException
Module management related exception that indicates bad parameter data passed by the invoker.
|
class |
ModuleNotFoundException
Signals that a module management operation has failed because the target module bundle cannot be found.
|
class |
NonProcessingNodeException
Indicates an attempt to perform an operation which is only allowed on the processing node, on a non-processing one.
|
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
ModuleManager.applyBundlesPersistentStates(String target)
Restores persistent state of all bundles from the internal storage.
|
Map<String,Map<String,BundleService.BundleInformation>> |
ModuleManager.getAllInfos(String target)
Get info about all installed bundles.
|
Map<String,BundleService.BundleInformation> |
ModuleManager.getAllLocalInfos()
Get local info about all installed bundles.
|
Map<String,Map<String,BundleService.BundleInformation>> |
ModuleManager.getBucketInfos(String bundleBucketKey,
String target)
Get info about multiple bundles belonging to a single bundle bucket.
|
Map<String,BundleService.BundleInformation> |
ModuleManager.getBucketLocalInfos(String bundleBucketKey)
Get local info about multiple bundles belonging to a single bundle bucket.
|
Map<String,BundleService.BundleInformation> |
ModuleManager.getInfo(String bundleKey,
String target)
Get info about a bundle.
|
Map<String,Map<String,BundleService.BundleInformation>> |
ModuleManager.getInfos(Collection<String> bundleKeys,
String target)
Get info about multiple bundles.
|
BundleService.BundleInformation |
ModuleManager.getLocalInfo(String bundleKey)
Get local info about a bundle.
|
BundleState |
ModuleManager.getLocalState(String bundleKey)
Get current local state of a bundle.
|
OperationResult |
ModuleManager.install(Collection<org.springframework.core.io.Resource> bundleResources,
String target,
boolean start)
Install specified bundles on the target group of cluster nodes, optionally starting them right after.
|
OperationResult |
ModuleManager.install(org.springframework.core.io.Resource bundleResource,
String target)
Install the specified bundle on the target group of cluster nodes.
|
OperationResult |
ModuleManager.install(org.springframework.core.io.Resource bundleResource,
String target,
boolean start)
Install the specified bundle on the target group of cluster nodes, optionally starting it right after.
|
OperationResult |
ModuleManager.refresh(String bundleKey,
String target)
Refresh the specified bundle on the target group of cluster nodes.
|
OperationResult |
ModuleManager.start(String bundleKey,
String target)
Start the specified bundle on the target group of cluster nodes.
|
OperationResult |
ModuleManager.stop(String bundleKey,
String target)
Stop the specified bundle on the target group of cluster nodes.
|
Collection<BundlePersistentInfo> |
ModuleManager.storeAllLocalPersistentStates()
Store persistent state of all bundles in the internal storage for the purpose of restore in the future.
|
OperationResult |
ModuleManager.uninstall(String bundleKey,
String target)
Uninstall the specified bundle on the target group of cluster nodes.
|
OperationResult |
ModuleManager.update(String bundleKey,
String target)
Update the specified bundle on the target group of cluster nodes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BundlePersister.delete(String bundleKey)
Deletes the stored info of the specified bundle.
|
void |
BundlePersister.store(PersistentBundle bundleInfo)
Persists the specified bundle resource either creating a new info in the storage or updating the existing entry with the supplied
data.
|
PersistentBundle |
BundlePersister.store(org.springframework.core.io.Resource resource)
Persists the info for the specified resources either creating a new info in the storage or updating the existing entry with the
supplied data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JCRBundlePersister.delete(String bundleKey) |
void |
JCRBundlePersister.store(PersistentBundle bundleInfo) |
PersistentBundle |
JCRBundlePersister.store(org.springframework.core.io.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleService.getAllInfos(String target)
Get info about all installed bundles.
|
Map<String,BundleService.BundleInformation> |
BundleService.getAllLocalInfos()
Get local info about all installed bundles.
|
Map<String,BundleService.BundleInformation> |
BundleService.getInfo(BundleInfo bundleInfo,
String target)
Get info about a bundle.
|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleService.getInfos(BundleBucketInfo bundleBucketInfo,
String target)
Get info about multiple bundles belonging to a single bundle bucket.
|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleService.getInfos(Collection<BundleInfo> bundleInfos,
String target)
Get info about multiple bundles.
|
BundleService.BundleInformation |
BundleService.getLocalInfo(BundleInfo bundleInfo)
Get local info about a bundle.
|
Map<String,BundleService.BundleInformation> |
BundleService.getLocalInfos(BundleBucketInfo bundleBucketInfo)
Get local info about multiple bundles belonging to a single bundle bucket.
|
BundleState |
BundleService.getLocalState(BundleInfo bundleInfo)
Get current local state of a bundle.
|
ModuleState.State |
BundleService.ModuleInformation.getModuleState() |
BundleState |
BundleService.BundleInformation.getOsgiState() |
void |
BundleService.install(String uri,
String target,
boolean start)
Install the specified bundle on the target group of cluster nodes, optionally starting it right after if the
start
parameter is true. |
void |
BundleService.install(String uri,
String target,
boolean start,
int startLevel)
Install the specified bundle on the target group of cluster nodes, optionally starting it right after if the
start
parameter is true. |
void |
BundleService.refresh(BundleInfo bundleInfo,
String target)
Performs the refresh operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.refresh(Collection<BundleInfo> bundleInfos,
String target)
Performs the refresh operation with the provided bundles on the target group of cluster nodes.
|
void |
BundleService.resolve(BundleInfo bundleInfo,
String target)
Performs the resolve operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.start(BundleInfo bundleInfo,
String target)
Performs the start operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.stop(BundleInfo bundleInfo,
String target)
Performs the stop operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.uninstall(BundleInfo bundleInfo,
String target)
Performs the uninstall operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.update(BundleInfo bundleInfo,
String target)
Performs the update operation with the provided bundle on the target group of cluster nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleServiceDelegate.getAllInfos(String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
DefaultBundleService.getAllInfos(String target) |
Map<String,BundleService.BundleInformation> |
BundleServiceDelegate.getAllLocalInfos() |
Map<String,BundleService.BundleInformation> |
DefaultBundleService.getAllLocalInfos() |
Map<String,BundleService.BundleInformation> |
BundleServiceDelegate.getInfo(BundleInfo bundleInfo,
String target) |
Map<String,BundleService.BundleInformation> |
DefaultBundleService.getInfo(BundleInfo bundleInfo,
String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
BundleServiceDelegate.getInfos(BundleBucketInfo bundleBucketInfo,
String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
DefaultBundleService.getInfos(BundleBucketInfo bundleBucketInfo,
String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
BundleServiceDelegate.getInfos(Collection<BundleInfo> bundleInfos,
String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
DefaultBundleService.getInfos(Collection<BundleInfo> bundleInfos,
String target) |
BundleService.BundleInformation |
BundleServiceDelegate.getLocalInfo(BundleInfo bundleInfo) |
Map<String,BundleService.BundleInformation> |
BundleServiceDelegate.getLocalInfos(BundleBucketInfo bundleBucketInfo) |
Map<String,BundleService.BundleInformation> |
DefaultBundleService.getLocalInfos(BundleBucketInfo bundleBucketInfo) |
BundleState |
BundleServiceDelegate.getLocalState(BundleInfo bundleInfo) |
void |
BundleServiceDelegate.install(String uri,
String target,
boolean start) |
void |
DefaultBundleService.install(String uri,
String target,
boolean start) |
void |
BundleServiceDelegate.install(String uri,
String target,
boolean start,
int startLevel) |
void |
DefaultBundleService.install(String uri,
String target,
boolean start,
int startLevel) |
void |
BundleServiceDelegate.refresh(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.refresh(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.refresh(Collection<BundleInfo> bundleInfos,
String target) |
void |
DefaultBundleService.refresh(Collection<BundleInfo> bundleInfos,
String target) |
void |
BundleServiceDelegate.resolve(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.resolve(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.start(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.stop(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.uninstall(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.update(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.update(BundleInfo bundleInfo,
String target) |
| Modifier and Type | Method and Description |
|---|---|
static PersistentBundle |
ModuleUtils.loadPersistentBundle(String bundleKey)
Returns the persistent bundle info for the specified key.
|
static PersistentBundle |
ModuleUtils.persist(org.osgi.framework.Bundle bundle)
Performs the persistence of the supplied bundle and returns the information about it.
|
static PersistentBundle |
ModuleUtils.persist(org.springframework.core.io.Resource bundleResource)
Performs the persistence of the supplied bundle resource and returns the information about it.
|
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.