public class ActivityManagerImple extends Object implements ActivityManager
Constructor and Description |
---|
ActivityManagerImple() |
Modifier and Type | Method and Description |
---|---|
void |
addHLS(HLS service)
Register the specified HLS with the activity service.
|
HLS[] |
allHighLevelServices()
Allows an invoker to obtain a list of all registered HLSs.
|
HLS |
getHighLevelService(String serviceType)
Allows an invoker to obtain a specific registered HLS supporting a given coordination type.
|
void |
removeHLS(HLS service)
Unregister the specified HLS with the activity service.
|
public void addHLS(HLS service) throws InvalidHLSException, SystemException
ActivityManager
addHLS
in interface ActivityManager
service
- The HLS to register.InvalidHLSException
- Thrown if the HLS is invalid in the
current execution environment.SystemException
- Thrown if any other error occurs.public void removeHLS(HLS service) throws InvalidHLSException, SystemException
ActivityManager
removeHLS
in interface ActivityManager
service
- The HLS to unregister.InvalidHLSException
- Thrown if the HLS is invalid in the
current execution environment.SystemException
- Thrown if any other error occurs.public HLS[] allHighLevelServices() throws SystemException
ActivityManager
allHighLevelServices
in interface ActivityManager
SystemException
- Thrown if any error occurs.public HLS getHighLevelService(String serviceType) throws SystemException
ActivityManager
getHighLevelService
in interface ActivityManager
SystemException
- Thrown if any error occurs.Copyright © 2016 JBoss by Red Hat. All rights reserved.