Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2008, 2010 VMware Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: VMware Inc. - initial contribution /
package org.eclipse.virgo.nano.shim.serviceability;

The Platform's tracing service.

An instance of this interface is available from the OSGi service registry.

Concurrent Semantics
Implementations must be thread safe.

public interface TracingService {

Informs the tracing service that the calling thread is within the scope of the application identified by applicationName. This setting can be cleared, e.g. because the calling thread is no longer in the scope of an application, by calling this method with null.

applicationName The name of the application that is in scope on the calling thread.
    void setCurrentApplicationName(String applicationName);

Returns the name of the application that is currently associated with the current thread

The name of the application associated with the thread.
New to GrepCode? Check out our FAQ X