NextApp Echo3
v3.0.b4

nextapp.echo.app.serial
Class SerialPeerFactory

java.lang.Object
  extended by nextapp.echo.app.serial.SerialPeerFactory
All Implemented Interfaces:
PropertyPeerFactory

public class SerialPeerFactory
extends java.lang.Object
implements PropertyPeerFactory

Factory for obtaining XML serial peer implementations for specific property classes.


Method Summary
static SerialPeerFactory forClassLoader(java.lang.ClassLoader classLoader)
          Creates or retrieves a SerialPeerFactory.
 SerialPropertyPeer getPeerForProperty(java.lang.Class propertyClass)
          Retrieves the appropriate XmlPropertyPeer for a given property class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forClassLoader

public static SerialPeerFactory forClassLoader(java.lang.ClassLoader classLoader)
Creates or retrieves a SerialPeerFactory.

Parameters:
classLoader - the ClassLoader to use for dynamically loading peer classes
Returns:
the SerialPeerFactory

getPeerForProperty

public SerialPropertyPeer getPeerForProperty(java.lang.Class propertyClass)
Retrieves the appropriate XmlPropertyPeer for a given property class.

Specified by:
getPeerForProperty in interface PropertyPeerFactory
Parameters:
propertyClass - the property class
Returns:
the appropriate XmlPropertyPeer

NextApp Echo3
v3.0.b4