com.caucho.quercus.servlet
Class PhpClassConfig

java.lang.Object
  extended by com.caucho.quercus.servlet.PhpClassConfig

public class PhpClassConfig
extends java.lang.Object

Custom class configuration.


Constructor Summary
PhpClassConfig()
           
 
Method Summary
 java.lang.String getName()
          Sets the PHP name for the class
 java.lang.Class getType()
          Returns the name of the type to add.
 void init()
          Initialize the class.
 void setName(java.lang.String name)
          Sets the PHP name for the class
 void setType(java.lang.Class cl)
          Sets the class to add.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhpClassConfig

public PhpClassConfig()
Method Detail

setType

public void setType(java.lang.Class cl)
Sets the class to add.


getType

public java.lang.Class getType()
Returns the name of the type to add.


setName

public void setName(java.lang.String name)
Sets the PHP name for the class


getName

public java.lang.String getName()
Sets the PHP name for the class


init

@PostConstruct
public void init()
          throws ConfigException
Initialize the class.

Throws:
ConfigException