org.ogf.graap.wsag.wsrf.bootstrap
Class BootstrapRegistry

java.lang.Object
  extended by org.ogf.graap.wsag.wsrf.bootstrap.BootstrapRegistry

public class BootstrapRegistry
extends Object

WSAG4JContextRegistry

Author:
Oliver Waeldrich

Constructor Summary
BootstrapRegistry()
           
 
Method Summary
static void finalizeBootstrapRegistry()
          This method cleans up the ThreadLocal in order to prevent memory leaks.
static org.apache.muse.ws.addressing.MessageHeaders getAddressingContext()
          Returns the addressing context for the current invocation.
static void registerAddressingContext(org.apache.muse.ws.addressing.MessageHeaders context)
          Registers the addressing context for the current invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapRegistry

public BootstrapRegistry()
Method Detail

finalizeBootstrapRegistry

public static void finalizeBootstrapRegistry()
This method cleans up the ThreadLocal in order to prevent memory leaks. It is invoked by the WSAG4JContextListener when the web application context is destroyed on server shutdown.

See Also:
WSAG4JContextListener.contextDestroyed(javax.servlet.ServletContextEvent)

getAddressingContext

public static org.apache.muse.ws.addressing.MessageHeaders getAddressingContext()
Returns the addressing context for the current invocation.

Returns:
the addressing context

registerAddressingContext

public static void registerAddressingContext(org.apache.muse.ws.addressing.MessageHeaders context)
Registers the addressing context for the current invocation.

Parameters:
context - the addressing context


Copyright © 2008-2012. All Rights Reserved.