com.arjuna.mwlabs.wsas.ActivityManagerImple Maven / Gradle / Ivy
The newest version!
/*
Copyright The Narayana Authors
SPDX-License-Identifier: Apache-2.0
*/
package com.arjuna.mwlabs.wsas;
import com.arjuna.mw.wsas.ActivityManager;
import com.arjuna.mw.wsas.activity.HLS;
import com.arjuna.mwlabs.wsas.activity.HLSManager;
import com.arjuna.mw.wsas.exceptions.SystemException;
import com.arjuna.mw.wsas.exceptions.InvalidHLSException;
/**
* The activity manager is the way in which an HLS can register
* itself with the activity service. This allows it to be informed
* of the lifecycle of activities and to augment that lifecyle and
* associated context.
*
* An HLS can be associated with all threads (globally) or with only
* a specific thread (locally).
*
* @author Mark Little ([email protected])
* @version $Id: ActivityManagerImple.java,v 1.2 2005/05/19 12:13:17 nmcl Exp $
* @since 1.0.
*/
public class ActivityManagerImple implements ActivityManager
{
public ActivityManagerImple ()
{
}
public void addHLS (HLS service) throws InvalidHLSException, SystemException
{
HLSManager.addHLS(service);
}
public void removeHLS (HLS service) throws InvalidHLSException, SystemException
{
HLSManager.removeHLS(service);
}
public HLS[] allHighLevelServices () throws SystemException
{
return HLSManager.allHighLevelServices();
}
public HLS getHighLevelService (String serviceType) throws SystemException
{
return HLSManager.getHighLevelService(serviceType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy