org.springframework.extensions.webscripts.processor
Class PHPObjectExtension

java.lang.Object
  extended by com.caucho.quercus.module.AbstractQuercusModule
      extended by org.springframework.extensions.webscripts.processor.PHPObjectExtension
All Implemented Interfaces:
com.caucho.quercus.module.QuercusModule, ProcessorExtension

public class PHPObjectExtension
extends com.caucho.quercus.module.AbstractQuercusModule
implements ProcessorExtension

Author:
Roy Wetherall

Field Summary
protected  String extensionClass
          The extension implementation class
protected  String extensionName
          The name of the extension
protected  PHPTemplateProcessor phpProcessor
          The PHP processor
 
Fields inherited from class com.caucho.quercus.module.AbstractQuercusModule
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
 
Constructor Summary
PHPObjectExtension()
           
 
Method Summary
 String getExtensionClass()
          Get the extension class
 String getExtensionName()
          Returns the name of the extension
 void register()
          Register the method extension with the PHP processor.
 void setExtensionClass(String extensionClass)
          Sets the extension class name
 void setExtensionName(String extensionName)
          Sets the extension name
 void setPhpProcessor(PHPTemplateProcessor phpProcessor)
          Sets the PHP Processor
 
Methods inherited from class com.caucho.quercus.module.AbstractQuercusModule
getConstMap, getIniDefinitions, getLoadedExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensionName

protected String extensionName
The name of the extension


phpProcessor

protected PHPTemplateProcessor phpProcessor
The PHP processor


extensionClass

protected String extensionClass
The extension implementation class

Constructor Detail

PHPObjectExtension

public PHPObjectExtension()
Method Detail

setExtensionName

public void setExtensionName(String extensionName)
Sets the extension name

Parameters:
extensionName - the extension name

getExtensionName

public String getExtensionName()
Description copied from interface: ProcessorExtension
Returns the name of the extension

Specified by:
getExtensionName in interface ProcessorExtension
Returns:
the name of the extension
See Also:
org.alfresco.service.cmr.repository.ProcessorExtension#getExtensionName()

setExtensionClass

public void setExtensionClass(String extensionClass)
Sets the extension class name

Parameters:
extensionClass - the extension class name

getExtensionClass

public String getExtensionClass()
Get the extension class

Returns:
String the extension class

setPhpProcessor

public void setPhpProcessor(PHPTemplateProcessor phpProcessor)
Sets the PHP Processor

Parameters:
phpProcessor - the PHP processor

register

public void register()
Register the method extension with the PHP processor.



Copyright © 2009 SpringSource, Inc. All Rights Reserved.