Skip to main content
A Open Source Solution
Home Download Support Configuration Development ImagoX

The launcher is used to speed-up processing for classes that are either all static method extension elements or are specifically designed to be thread safe. The launcher creates and registers an instance of each class listed then passes it control when needed. This eliminates the overhead of creating an instance of the class during the request. All launcher options begin with the launcher prefix.

init.Launcher.classes.0=Forms
The first launcher class. In this case called Forms.
init.Launcher.classes.1=Counter
The second launcher class. In this case called Counter.
init.Launcher.class.Forms=org.xenei.imagoX.forms.ImagoForm
Defines the class for the Forms launcher. In this case a forms processor defined in the packages.
init.Launcher.init.Forms.number=org.xenei.imagoX.forms.NumberValidator
init.Launcher.init.Forms.date=org.xenei.imagoX.forms.DateValidator
init.Launcher.init.Forms.choice=org.xenei.imagoX.forms.ChoiceValidator
init.Launcher.init.Forms.image=org.xenei.imagoX.forms.ImageValidator
init.Launcher.init.Forms.email=org.xenei.imagoX.forms.EmailValidator
Defines the initialization parameters for the Forms class. The init() method of class org.xenei.imagoX.forms.ImagoForm will be called with a Configurations object containing the lines above with the init.Launcher.init.Forms prefix removed.
init.Launcher.class.Counter=org.xenei.imagoX.counter.ImagoCounter
Defines the class for the Counter launcher. In this case a hit counter implemented in the packages.
init.Launcher.init.Counter.class=org.xenei.imagoX.counter.FileCounterData
init.Launcher.init.Counter.init.directory=/tmp
Initialization information needed by the Counter class that implements a file-based hit counter.
init.Launcher.init.Counter.class=org.xenei.imagoX.counter.DBCounterData
init.Launcher.init.Counter.init.db.driver=org.gjt.mm.mysql.Driver
init.Launcher.init.Counter.init.db.host=jdbc:mysql://xenei.org/imagoData
init.Launcher.init.Counter.init.db.user=imago
init.Launcher.init.Counter.init.db.password=imago
Initialization for the Counter class that uses a MySQL database to store the hit counts. Any database supported by LDBC may be used.
All trademarks and copyrights are the property of their respective owners.
Copyright © 2002-2004 by Xenei.com, All Rights Reserved
OpenSource.org
AnyBrowser.org
Xenei.org - Open Source Solutions