com.caucho.health.action
Class PhpAction

java.lang.Object
  extended by com.caucho.health.action.AbstractHealthAction
      extended by com.caucho.health.action.PhpAction
All Implemented Interfaces:
HealthAction

@Singleton
@Configurable
public class PhpAction
extends AbstractHealthAction

Health action to execute a PHP script.

<health:PhpAction>
   <path>${resin.root}/php/test.php</path>
   <health:OnStart/>
 </health:PhpAction> 
 


Constructor Summary
PhpAction()
           
 
Method Summary
 void doActionImpl(HealthEvent healthEvent)
           
 Path getPath()
           
 void init()
           
 void setPath(Path path)
           
 
Methods inherited from class com.caucho.health.action.AbstractHealthAction
add, addListener, doAction, getPredicates, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhpAction

public PhpAction()
Method Detail

getPath

public Path getPath()

setPath

@Configurable
public void setPath(Path path)

init

@PostConstruct
public void init()
Overrides:
init in class AbstractHealthAction

doActionImpl

public void doActionImpl(HealthEvent healthEvent)
Specified by:
doActionImpl in class AbstractHealthAction