uk.ltd.getahead.dwr.create
Class JsfCreator

java.lang.Object
  extended byuk.ltd.getahead.dwr.create.AbstractCreator
      extended byuk.ltd.getahead.dwr.create.JsfCreator
All Implemented Interfaces:
Creator

public class JsfCreator
extends AbstractCreator
implements Creator

This is a DWR creator implementation, to allow dwr beans to be allocated into JSF scopes and into jeffs3 specific scope (i.e. the flow scope)

Author:
Pierpaolo Follia (Latest revision: $Author: esa50833 $), Joe Walker [joe at getahead dot ltd dot uk]

Field Summary
 
Fields inherited from interface uk.ltd.getahead.dwr.Creator
APPLICATION, PAGE, REQUEST, SESSION
 
Constructor Summary
JsfCreator()
           
 
Method Summary
 java.lang.Object getInstance()
          Accessor for the/an instance of this Creator.
 java.lang.String getManagedBeanName()
           
 java.lang.Class getType()
          Accessor for the java.lang.Class that this Creator allows access to.
 void setClass(java.lang.String classname)
          What sort of class do we create?
 void setManagedBeanName(java.lang.String managedBeanName)
           
 
Methods inherited from class uk.ltd.getahead.dwr.create.AbstractCreator
getJavascript, getScope, setJavascript, setProperties, setScope, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ltd.getahead.dwr.Creator
getScope, setProperties
 

Constructor Detail

JsfCreator

public JsfCreator()
Method Detail

getType

public java.lang.Class getType()
Description copied from interface: Creator
Accessor for the java.lang.Class that this Creator allows access to.

Specified by:
getType in interface Creator
Returns:
The type of this allowed class

getInstance

public java.lang.Object getInstance()
                             throws java.lang.InstantiationException
Description copied from interface: Creator
Accessor for the/an instance of this Creator.

Specified by:
getInstance in interface Creator
Returns:
the instance to use
Throws:
java.lang.InstantiationException - If for some reason the object can not be created

getManagedBeanName

public java.lang.String getManagedBeanName()
Returns:
Returns the managedBeanName.

setManagedBeanName

public void setManagedBeanName(java.lang.String managedBeanName)
Parameters:
managedBeanName - The managedBeanName to set.

setClass

public void setClass(java.lang.String classname)
What sort of class do we create?

Parameters:
classname - The name of the class

Copyright ? 2005