|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemStateService
Allows to persist, update, delete and recover JBI artefacts.
| Method Summary | |
|---|---|
org.ow2.petals.systemstate.generated.Component |
createComponentStateHolder(java.lang.String componentName,
java.net.URL installUrl,
java.lang.String archiveName)
Create a Component entry in the System State. |
org.ow2.petals.systemstate.generated.ServiceAssembly |
createServiceAssemblyStateHolder(java.lang.String saName,
java.net.URL installUrl,
java.lang.String archiveName)
Create a ServiceAssembly entry in the System State. |
org.ow2.petals.systemstate.generated.SharedLibrary |
createSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version,
java.net.URL installUrl,
java.lang.String archiveName)
Create a SharedLibrary entry in the System State. |
org.ow2.petals.systemstate.generated.Component |
deleteComponentStateHolder(java.lang.String componentName)
Delete a Component entry from the System State. |
org.ow2.petals.systemstate.generated.ServiceAssembly |
deleteServiceAssemblyStateHolder(java.lang.String saName)
Delete a ServiceAssembly entry from the System State. |
org.ow2.petals.systemstate.generated.SharedLibrary |
deleteSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version)
Delete a SharedLibrary entry from the System State. |
org.ow2.petals.systemstate.generated.Component |
getComponentStateHolder(java.lang.String componentName)
Get the Component entry from the System State. |
java.util.List<org.ow2.petals.systemstate.generated.Component> |
getComponentStateHolders()
Get the Components entries from the System State. |
org.ow2.petals.systemstate.generated.ServiceAssembly |
getServiceAssemblyStateHolder(java.lang.String saName)
Get the ServiceAssembly entry from the System State. |
java.util.List<org.ow2.petals.systemstate.generated.ServiceAssembly> |
getServiceAssemblyStateHolders()
Get the ServiceAssemblys entries from the System State. |
org.ow2.petals.systemstate.generated.SharedLibrary |
getSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version)
Get the SharedLibrary entry from the System State. |
java.util.List<org.ow2.petals.systemstate.generated.SharedLibrary> |
getSharedLibraryStateHolders()
Get the SharedLibrarys entries from the System State. |
java.util.List<org.ow2.petals.systemstate.generated.SharedLibrary> |
getSharedLibraryStateHolders(java.lang.String slName)
Get the SharedLibrarys entries from the System State matching the
given name. |
boolean |
isComponentInstalled(java.lang.String componentName)
Check if the given component is already installed |
void |
updateComponentInstallationState(java.lang.String componentName,
java.lang.String installState)
Update the given component installation state. |
void |
updateComponentLifeCycleState(java.lang.String componentName,
java.lang.String lifecycleState)
Update the given component lifecycle state. |
void |
updateServiceAssemblyState(java.lang.String saName,
java.lang.String lifecycleState)
Update the given service assembly state. |
| Method Detail |
|---|
org.ow2.petals.systemstate.generated.Component createComponentStateHolder(java.lang.String componentName,
java.net.URL installUrl,
java.lang.String archiveName)
throws org.ow2.petals.systemstate.SystemStateException
Component entry in the System State.
componentName - installUrl - archiveName -
Component entry
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System State
org.ow2.petals.systemstate.generated.ServiceAssembly createServiceAssemblyStateHolder(java.lang.String saName,
java.net.URL installUrl,
java.lang.String archiveName)
throws org.ow2.petals.systemstate.SystemStateException
ServiceAssembly entry in the System State.
saName - installUrl - archiveName -
ServiceAssembly
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System State
org.ow2.petals.systemstate.generated.SharedLibrary createSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version,
java.net.URL installUrl,
java.lang.String archiveName)
throws org.ow2.petals.systemstate.SystemStateException
SharedLibrary entry in the System State.
slName - installUrl - archiveName -
SharedLibrary
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System State
org.ow2.petals.systemstate.generated.Component deleteComponentStateHolder(java.lang.String componentName)
throws org.ow2.petals.systemstate.SystemStateException
Component entry from the System State.
componentName -
null if not found
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System State
org.ow2.petals.systemstate.generated.ServiceAssembly deleteServiceAssemblyStateHolder(java.lang.String saName)
throws org.ow2.petals.systemstate.SystemStateException
ServiceAssembly entry from the System State.
saName -
null if not found
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System State
org.ow2.petals.systemstate.generated.SharedLibrary deleteSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version)
throws org.ow2.petals.systemstate.SystemStateException
SharedLibrary entry from the System State.
slName - version -
null if not found
org.ow2.petals.systemstate.SystemStateException - failed to persist the new System Stateorg.ow2.petals.systemstate.generated.Component getComponentStateHolder(java.lang.String componentName)
Component entry from the System State.
componentName -
Component entry or null if not foundjava.util.List<org.ow2.petals.systemstate.generated.Component> getComponentStateHolders()
Components entries from the System State.
Components entriesorg.ow2.petals.systemstate.generated.ServiceAssembly getServiceAssemblyStateHolder(java.lang.String saName)
ServiceAssembly entry from the System State.
saName -
ServiceAssembly entry or null if not foundjava.util.List<org.ow2.petals.systemstate.generated.ServiceAssembly> getServiceAssemblyStateHolders()
ServiceAssemblys entries from the System State.
ServiceAssemblys entries
org.ow2.petals.systemstate.generated.SharedLibrary getSharedLibraryStateHolder(java.lang.String slName,
java.lang.String version)
SharedLibrary entry from the System State.
slName - version -
SharedLibrary entry or null if not foundjava.util.List<org.ow2.petals.systemstate.generated.SharedLibrary> getSharedLibraryStateHolders()
SharedLibrarys entries from the System State.
SharedLibrarys entriesjava.util.List<org.ow2.petals.systemstate.generated.SharedLibrary> getSharedLibraryStateHolders(java.lang.String slName)
SharedLibrarys entries from the System State matching the
given name.
slName -
SharedLibrarys entriesboolean isComponentInstalled(java.lang.String componentName)
componentName -
true if already installed, false otherwise
void updateComponentInstallationState(java.lang.String componentName,
java.lang.String installState)
throws org.ow2.petals.systemstate.SystemStateException
componentName - installState -
org.ow2.petals.systemstate.SystemStateException
void updateComponentLifeCycleState(java.lang.String componentName,
java.lang.String lifecycleState)
throws org.ow2.petals.systemstate.SystemStateException
componentName - lifecycleState -
org.ow2.petals.systemstate.SystemStateException
void updateServiceAssemblyState(java.lang.String saName,
java.lang.String lifecycleState)
throws org.ow2.petals.systemstate.SystemStateException
saName - lifecycleState -
org.ow2.petals.systemstate.SystemStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||