Class EPPApplication

java.lang.Object
com.verisign.epp.interfaces.EPPApplication
Direct Known Subclasses:
EPPApplicationSingle

public class EPPApplication extends Object
This class represents a logical application. it should be instantiated once in the application life cycle. Its primary function is to initialize all the utilities and connection pool associated with interfaces. At the termination of the program, this entity will offer resources to close all established the connections gracefully, and it performs all cleanup tasks associated with utility functions.
  • Constructor Details

    • EPPApplication

      public EPPApplication()
  • Method Details

    • initialize

      public void initialize(String aConfigFile, ClassLoader aClassLoader) throws EPPCommandException
      Initialize EPPApplication using the passed in configuration file and ClassLoader.
      Parameters:
      aConfigFile - Configuration file name to initialize EPPApplication with.
      aClassLoader - Used to look for the configuration file in the classpath.
      Throws:
      EPPCommandException - Error initializing with the configuration file
    • initialize

      public void initialize(Properties aProperties) throws EPPCommandException
      Initialize EPPApplication using the passed in Properties object.
      Parameters:
      aProperties - EPP configuration properties to initialize EPPApplication with.
      Throws:
      EPPCommandException - Error initializing with the properties
    • initialize

      public void initialize(String aConfigFile) throws EPPCommandException
      Initialize EPPApplication using the passed in configuration file.
      Parameters:
      aConfigFile - Configuration file name to initialize EPPApplication with.
      Throws:
      EPPCommandException - Error initializing with the configuration file
    • initialize

      public void initialize() throws EPPCommandException
      Initializing EPPApplication after the configuration has been already initialized via EPPEnvSingle or one of its base classes.
      Throws:
      EPPCommandException - Error initializing EPPApplication
    • endApplication

      public void endApplication() throws EPPCommandException
      Instance method responsible for Cleanup and termination of the EPPApplication.
      Throws:
      EPPCommandException - Not currently thrown