PaP
Class ActorFactory

java.lang.Object
  |
  +--PaP.ActorFactory
All Implemented Interfaces:
java.io.Serializable

public class ActorFactory
extends java.lang.Object
implements java.io.Serializable

Creates Actors with URL based class loader PaPurlLoader. PAS has one instance of it.

See Also:
Serialized Form

Constructor Summary
ActorFactory()
           
 
Method Summary
 ActorInterface createActor(java.lang.String url, java.lang.String className)
          Creates Actor objects.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

ActorFactory

public ActorFactory()
Method Detail

createActor

public ActorInterface createActor(java.lang.String url,
                                  java.lang.String className)
                           throws java.lang.Exception
Creates Actor objects.
Parameters:
url - Location of the class representing the manuscript the Actor to be created has to follow.
className - Class name that corresponds to the "role" the actor plays.
Returns:
Reference to the freshly created Actor object.