org.velocityweb
Class BaseService

java.lang.Object
  extended byorg.velocityweb.BaseService

public abstract class BaseService
extends java.lang.Object

Base service class template, receive application context from caller

Author:
Jacklondon Chen

Constructor Summary
BaseService(AppContext context)
          contructor,force to new with a context object
 
Method Summary
protected  AppContext getAppContext()
          get application context, normally only called by BaseDAO contructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseService

public BaseService(AppContext context)
contructor,force to new with a context object

Parameters:
context - application context object
Method Detail

getAppContext

protected AppContext getAppContext()
get application context, normally only called by BaseDAO contructor

Returns:
application context