EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.util
Class StringPeerFactory

java.lang.Object
  extended by echopoint.util.StringPeerFactory

public class StringPeerFactory
extends Object

A PeerFactory that can return and peer object instance for a given string (rather than use class name which is what PeerFactory does)


Constructor Summary
StringPeerFactory(String resourceName, ClassLoader classLoader)
           
 
Method Summary
 Object getPeer(String matchString)
          Retrieves the appropriate peer instance for a given String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPeerFactory

public StringPeerFactory(String resourceName,
                         ClassLoader classLoader)
Method Detail

getPeer

public Object getPeer(String matchString)
Retrieves the appropriate peer instance for a given String.

Parameters:
matchString - - the string to match
Returns:
the relevant peer, or null if none can be found

EchoPoint API - 3.0.0b5
App Webcontainer