org.codehaus.aspectwerkz.joinpoint.control
Class ControllerFactory

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.control.ControllerFactory

public class ControllerFactory
extends java.lang.Object

Factory for the join point controllers.

Author:
Stefan Finkenzeller

Field Summary
static java.lang.String DEFAULT_CONTROLLER
          The name of the default controller implementation class.
 
Constructor Summary
ControllerFactory()
           
 
Method Summary
static JoinPointController createController(java.lang.String classname)
          Controller factory that creates joinpoint controllers to create the execution model of advices.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONTROLLER

public static final java.lang.String DEFAULT_CONTROLLER
The name of the default controller implementation class.

See Also:
Constant Field Values
Constructor Detail

ControllerFactory

public ControllerFactory()
Method Detail

createController

public static final JoinPointController createController(java.lang.String classname)
Controller factory that creates joinpoint controllers to create the execution model of advices.

The contract is that there will always be at least a DefaultJoinPointController meaning joinpoints will always have a controller (never null)

Parameters:
classname - fully qualified class name of the controller class. If null or invalid, DefaultJoinPointController is returned
Returns:
instance of a joinpointcontroller


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.