com.softwareag.mdm.core.service
Interface ServiceInstaller


public interface ServiceInstaller

Defines methods for initializing the module and its environment.

These methods are automatically called by webMethods MDM container at module compilation time.

For an implementation of this interface to be operational, following conditions must also be preserved:

  1. the class must be public and must have a public default constructor;
  2. the name of the class must be given in the module's description file, module.xml.


Method Summary
 void specificPostSetup(SpecificSetupFacade aSpecificSetupFacade)
          Does specific initialization after module compilation.
 void specificPreSetup(SpecificSetupFacade aSpecificSetupFacade)
          Does specific initialization before module compilation.
 

Method Detail

specificPostSetup

public void specificPostSetup(SpecificSetupFacade aSpecificSetupFacade)
                       throws Exception
Does specific initialization after module compilation.

This method gives the module an opportunity to set up any specific resources (for example, back-end connections) before its execution.

This method is called once module has been built and compiled. If an exception is thrown, the module won't be considered available and the exception will be logged.

Throws:
Exception - any exception. If thrown, the module won't be considered available.

specificPreSetup

public void specificPreSetup(SpecificSetupFacade aSpecificSetupFacade)
                      throws Exception
Does specific initialization before module compilation.

This method gives the module an opportunity to set up any specific resources (for example, back-end connections) before its execution.

This method is called once module has been built but just before it is compiled. If an exception is thrown, the module won't be considered available and the exception will be logged.

Throws:
Exception - any exception. If thrown, the module won't be considered available.


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.