Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.pebble.web.action
Class ActionFactory

    java.lang.Object
      net.sourceforge.pebble.web.action.ActionFactory

    public class ActionFactory

extends java.lang.Object

A factory class from which to look up and retrieve an instance of an Action class to process a specific request.

Author:
  Simon Brown

Constructor Summary
`ActionFactory(java.lang.String actionMappingFileName)` Creates a new instance, using the given configuration file.

Method Summary
`Action` | `getAction(java.lang.String name)` Given the name/type of request, this method returns the Action instance appropriate to process the request.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ActionFactory

    public ActionFactory(java.lang.String actionMappingFileName)

  Creates a new instance, using the given configuration file.

Method Detail

### getAction

    public Action getAction(java.lang.String name)
                     throws ActionNotFoundException

  Given the name/type of request, this method returns the Action instance appropriate to process the request.

  Parameters:
    `name` - the name (type) of the request
  Returns:
    an instance of Action (could be null if no mapping has been defined)
  Throws:
    `ActionNotFoundException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2006, Simon Brown. All Rights Reserved.