org.apache.sling.hc.support.impl
Class SlingRequestStatusHealthCheck

java.lang.Object
  extended by org.apache.sling.hc.support.impl.SlingRequestStatusHealthCheck
All Implemented Interfaces:
org.apache.sling.hc.api.HealthCheck

@Properties(value={@Property(name="hc.name"),@Property(name="hc.tags",unbounded=ARRAY),@Property(name="hc.mbean.name")})
@Service(value=org.apache.sling.hc.api.HealthCheck.class)
public class SlingRequestStatusHealthCheck
extends Object
implements org.apache.sling.hc.api.HealthCheck

HealthCheck that checks the HTTP status of Sling requests. Typically used to check that a freshly installed Sling-based system is in good shape, contains all required content etc.


Field Summary
 
Fields inherited from interface org.apache.sling.hc.api.HealthCheck
MBEAN_NAME, NAME, TAGS
 
Constructor Summary
SlingRequestStatusHealthCheck()
           
 
Method Summary
 void activate(Map<String,Object> properties)
           
 org.apache.sling.hc.api.Result execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlingRequestStatusHealthCheck

public SlingRequestStatusHealthCheck()
Method Detail

activate

@Activate
public void activate(Map<String,Object> properties)

execute

public org.apache.sling.hc.api.Result execute()
Specified by:
execute in interface org.apache.sling.hc.api.HealthCheck


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.