turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: caching object
Date Sat, 16 Jun 2007 07:57:14 GMT
jill han wrote:
>             gs = (GlobalCacheService) TurbineServices.getInstance()
>                 .getService(GlobalCacheService.SERVICE_NAME);
>             obj = gs.getObject("cached_physician");

There is a static class TurbineGlobalCache which would shorten this to

              obj = TurbneGlobalCache.getObject("cached_physician");


> 	  return ??????

          return (Physician)ob.getContents();

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org


Mime
View raw message