mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/asset/Deactivator.java
@Override
    public void run()
    {
        try
        {
            m_Asset.onDeactivate();
            for (AssetActivationListener listener : m_AssetActivationListeners)
            {
                listener.assetDeactivationComplete(m_Asset);
            }
        }
        catch (final Exception e)
        {
            Logging.log(LogService.LOG_WARNING, e, "Exception during onDeactivate %s", m_Asset.getName());
            for (AssetActivationListener listener : m_AssetActivationListeners)
            {
                listener.assetDeactivationFailed(m_Asset);
            }
        }
    }
/**
     * Try and deactivate the given asset. If unsuccessful set status back to
     * activated.
     */
Try and deactivate the given asset. If unsuccessful set status back to
activated.
Try and deactivate the given asset . If unsuccessful set status back to activated .
@Override
    public void run()
    {
        try
        {
            m_Asset.onDeactivate();
            for (AssetActivationListener listener : m_AssetActivationListeners)
            {
                listener.assetDeactivationComplete(m_Asset);
            }
        }
        catch (final Exception e)
        {
            Logging.log(LogService.LOG_WARNING, e, "Exception during onDeactivate %s", m_Asset.getName());
            for (AssetActivationListener listener : m_AssetActivationListeners)
            {
                listener.assetDeactivationFailed(m_Asset);
            }
        }
    }
@ Override public void run ( ) { try { m_Asset . onDeactivate ( ) ; for ( AssetActivationListener listener : m_AssetActivationListeners ) { listener . assetDeactivationComplete ( m_Asset ) ; } } catch ( final Exception e ) { Logging . log ( LogService . LOG_WARNING , e , "Exception during onDeactivate %s" , m_Asset . getName ( ) ) ; for ( AssetActivationListener listener : m_AssetActivationListeners ) { listener . assetDeactivationFailed ( m_Asset ) ; } } }
Try and deactivate the given asset.
Try and deactivate the given asset .