org.jclouds.ohai.servlet.suppliers
Class ServletContextSupplier

java.lang.Object
  extended by org.jclouds.ohai.servlet.suppliers.ServletContextSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<org.jclouds.domain.JsonBall>
Direct Known Subclasses:
ServletContextInfoSupplier

@Singleton
public abstract class ServletContextSupplier
extends Object
implements com.google.common.base.Supplier<org.jclouds.domain.JsonBall>

Author:
Adrian Cole

Constructor Summary
ServletContextSupplier(javax.servlet.ServletContext servletContext)
           
 
Method Summary
 org.jclouds.domain.JsonBall get()
           
protected abstract  String provideJson(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextSupplier

@Inject
public ServletContextSupplier(javax.servlet.ServletContext servletContext)
Method Detail

get

public org.jclouds.domain.JsonBall get()
Specified by:
get in interface com.google.common.base.Supplier<org.jclouds.domain.JsonBall>

provideJson

protected abstract String provideJson(javax.servlet.ServletContext servletContext)


Copyright © 2012 jclouds. All Rights Reserved.