NextApp Echo
App Container 1.0.5

nextapp.echoservlet
Class ComponentPeerFactory

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeerFactory

final class ComponentPeerFactory
extends java.lang.Object

Creates ComponentPeer objects for Components.


Field Summary
private static PeerFactory factory
          The PeerFactory used to create new ComponentPeer instances.
 
Constructor Summary
private ComponentPeerFactory()
          Non-instantiable class.
 
Method Summary
static void addAssociations(java.lang.String propertiesFile)
          Adds additional Component-to-ComponentPeer associations.
static ComponentPeer createComponentPeer(nextapp.echo.Component c)
          Returns a new peer for the specified component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static final PeerFactory factory
The PeerFactory used to create new ComponentPeer instances.

Constructor Detail

ComponentPeerFactory

private ComponentPeerFactory()
Non-instantiable class.

Method Detail

createComponentPeer

public static ComponentPeer createComponentPeer(nextapp.echo.Component c)
Returns a new peer for the specified component. The peer must be registered before it may be used.

Parameters:
c - The Component for which a peer is to be created.
Returns:
A ComponentPeer bound to the specified Component.

addAssociations

public static void addAssociations(java.lang.String propertiesFile)
Adds additional Component-to-ComponentPeer associations.

Parameters:
propertiesFile - The name of a properties file containing additional associations.

NextApp Echo
App Container 1.0.5