© 2002 BEA Systems, Inc.


com.beasys.commerce.ebusiness.catalog.service.category
Class SeedCacheStartup

java.lang.Object
  |
  +--com.beasys.commerce.ebusiness.catalog.service.category.SeedCacheStartup

public class SeedCacheStartup
extends java.lang.Object
implements weblogic.common.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.


Constructor Summary
SeedCacheStartup()
           
 
Method Summary
 void setServices(weblogic.common.T3ServicesDef services)
           
 java.lang.String startup(java.lang.String name, java.util.Hashtable props)
          Implements T3StartupDef2 gets called by the container as part of startup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeedCacheStartup

public SeedCacheStartup()
Method Detail

setServices

public void setServices(weblogic.common.T3ServicesDef services)
Specified by:
setServices in interface weblogic.common.T3StartupDef


startup

public java.lang.String startup(java.lang.String name,
                                java.util.Hashtable props)
Implements T3StartupDef2 gets called by the container as part of startup
Specified by:
startup in interface weblogic.common.T3StartupDef

Returns:
String Message that gets put in the weblogic log.

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved