com.beasys.commerce.ebusiness.catalog.service.category
Class SeedCacheStartup
java.lang.Object
com.beasys.commerce.ebusiness.catalog.service.category.SeedCacheStartup
- All Implemented Interfaces
- T3StartupDef
Deprecated
@Deprecated
public class SeedCacheStartup
- extends Object
- implements T3StartupDef
SeedCacheStartup
is a WebLogic Server startup class. It implements
the T3StartupDef interface.
It is designed to load catalog categories in the cache at server startup. This resolves
the issue of the first few page hits taking an inordinately large amount of time to
be served on account of the cache not being populated and category data having to be
fetched from the database. WARNING: This results in an increase in server startup time.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeedCacheStartup
public SeedCacheStartup()
- Deprecated
setServices
public void setServices(T3ServicesDef services)
- Deprecated
- Specified by:
setServices
in interface T3StartupDef
startup
public String startup(String name,
Hashtable props)
- Deprecated
- Implements T3StartupDef2 gets called by the container as part of startup
- Specified by:
startup
in interface T3StartupDef
- Returns
- String Message that gets put in the weblogic log.
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.