NextApp Echo3
v3.0.rc1

nextapp.echo.webcontainer
Class SynchronizationContext

java.lang.Object
  extended by nextapp.echo.webcontainer.SynchronizationContext
All Implemented Interfaces:
nextapp.echo.app.util.Context

public class SynchronizationContext
extends java.lang.Object
implements nextapp.echo.app.util.Context

Basic Context implementation used by InputProcessor and OutputProcessor to parse inbound and produce outbound XML synchronization messages. Provides the following properties: Document (provided by constructor) Connection (provided by constructor) SerialContext PropertyPeerFactory UserInstance


Constructor Summary
SynchronizationContext(Connection conn, org.w3c.dom.Document document)
          Creates a new SynchronizationContext.
 
Method Summary
 java.lang.Object get(java.lang.Class specificContextClass)
          Returns a specific context, if supported, or null otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronizationContext

public SynchronizationContext(Connection conn,
                              org.w3c.dom.Document document)
Creates a new SynchronizationContext.

Parameters:
conn - the Connection
document - the inbound or outbound XML Document
Method Detail

get

public java.lang.Object get(java.lang.Class specificContextClass)
Description copied from interface: nextapp.echo.app.util.Context
Returns a specific context, if supported, or null otherwise.

Specified by:
get in interface nextapp.echo.app.util.Context
Parameters:
specificContextClass - the Class of the specific context to return.
Returns:
the specific context
See Also:
Context.get(java.lang.Class)

NextApp Echo3
v3.0.rc1