org.apache.muse.core.platform.osgi
Interface OSGiEnvironment

All Superinterfaces:
Environment
All Known Implementing Classes:
Axis2Environment, OSGiEnvironmentImpl, OSGiMiniEnvironment

public interface OSGiEnvironment
extends Environment

OSGiEnvironment an extension of the Muse core's Environment interface.

Author:
Joel Hawkins (joelh)
See Also:
Environment

Method Summary
 org.osgi.framework.Bundle getThreadLocalBundle()
          gets the current Bundle for the caller's thread.
 void setThreadLocalBundle(org.osgi.framework.Bundle bundle)
          sets the Bundle for the caller's executing context.
 
Methods inherited from interface org.apache.muse.core.Environment
addAddressingContext, createRelativePath, getAddressingContext, getClassLoader, getDataResource, getDataResourceStream, getDefaultURI, getDeploymentEPR, getDocument, getRealDirectory, getSoapClient, removeAddressingContext, setDefaultURI, setSoapClient
 

Method Detail

getThreadLocalBundle

org.osgi.framework.Bundle getThreadLocalBundle()
gets the current Bundle for the caller's thread.

Returns:
the Bundle corresponding to the caller's execution context.

setThreadLocalBundle

void setThreadLocalBundle(org.osgi.framework.Bundle bundle)
sets the Bundle for the caller's executing context.

Parameters:
bundle - the Bundle to be used for the executing Thread's context


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.