NextApp Echo3
v3.0.b4

nextapp.echo.webcontainer
Class SynchronizePeerFactory

java.lang.Object
  extended by nextapp.echo.webcontainer.SynchronizePeerFactory

public class SynchronizePeerFactory
extends java.lang.Object

Factory for obtaining XXXSynchronizePeer implementations.


Method Summary
static CommandSynchronizePeer getPeerForCommand(java.lang.Class commandClass)
          Retrieves the appropriate CommandSynchronizePeer for a given Command class.
static ComponentSynchronizePeer getPeerForComponent(java.lang.Class componentClass)
          Retrieves the appropriate ComponentSynchronizePeer for a given Component class.
static ComponentSynchronizePeer getPeerForComponent(java.lang.Class componentClass, boolean searchSuperClasses)
          Retrieves the appropriate ComponentSynchronizePeer for a given Component class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPeerForCommand

public static CommandSynchronizePeer getPeerForCommand(java.lang.Class commandClass)
Retrieves the appropriate CommandSynchronizePeer for a given Command class.

Parameters:
commandClass - the command class
Returns:
the appropriate CommandSynchronizePeer

getPeerForComponent

public static ComponentSynchronizePeer getPeerForComponent(java.lang.Class componentClass)
Retrieves the appropriate ComponentSynchronizePeer for a given Component class.

Parameters:
componentClass - the component class
Returns:
the appropriate ComponentSynchronizePeer

getPeerForComponent

public static ComponentSynchronizePeer getPeerForComponent(java.lang.Class componentClass,
                                                           boolean searchSuperClasses)
Retrieves the appropriate ComponentSynchronizePeer for a given Component class.

Parameters:
componentClass - the component class
searchSuperClasses - flag indicating whether peers for superclasses should be returned if none can be found for the exact class.
Returns:
the appropriate ComponentSynchronizePeer

NextApp Echo3
v3.0.b4