com.dyuproject.web.rest.service
Class AbstractResource
java.lang.Object
com.dyuproject.web.rest.service.AbstractResource
- All Implemented Interfaces:
- Resource
public abstract class AbstractResource
- extends Object
- implements Resource
Base resource to handle requests
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractResource
public AbstractResource()
init
public final void init(WebContext webContext)
- Specified by:
init
in interface Resource
destroy
public final void destroy(WebContext webContext)
- Specified by:
destroy
in interface Resource
init
protected abstract void init()
destroy
protected void destroy()
getWebContext
public WebContext getWebContext()
Copyright © 2013. All Rights Reserved.