Package com.verisign.epp.interfaces
Class EPPApplication
- java.lang.Object
-
- com.verisign.epp.interfaces.EPPApplication
-
- Direct Known Subclasses:
EPPApplicationSingle
public class EPPApplication extends java.lang.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 Summary
Constructors Constructor Description EPPApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endApplication()
Instance method responsible for Cleanup and termination of the EPPApplication.void
initialize()
InitializingEPPApplication
after the configuration has been already initialized viaEPPEnvSingle
or one of its base classes.void
initialize(java.lang.String aConfigFile)
InitializeEPPApplication
using the passed in configuration file.void
initialize(java.lang.String aConfigFile, java.lang.ClassLoader aClassLoader)
InitializeEPPApplication
using the passed in configuration file andClassLoader
.void
initialize(java.util.Properties aProperties)
InitializeEPPApplication
using the passed inProperties
object.
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String aConfigFile, java.lang.ClassLoader aClassLoader) throws EPPCommandException
InitializeEPPApplication
using the passed in configuration file andClassLoader
.- Parameters:
aConfigFile
- Configuration file name to initializeEPPApplication
with.aClassLoader
- Used to look for the configuration file in the classpath.- Throws:
EPPCommandException
- Error initializing with the configuration file
-
initialize
public void initialize(java.util.Properties aProperties) throws EPPCommandException
InitializeEPPApplication
using the passed inProperties
object.- Parameters:
aProperties
- EPP configuration properties to initializeEPPApplication
with.- Throws:
EPPCommandException
- Error initializing with the properties
-
initialize
public void initialize(java.lang.String aConfigFile) throws EPPCommandException
InitializeEPPApplication
using the passed in configuration file.- Parameters:
aConfigFile
- Configuration file name to initializeEPPApplication
with.- Throws:
EPPCommandException
- Error initializing with the configuration file
-
initialize
public void initialize() throws EPPCommandException
InitializingEPPApplication
after the configuration has been already initialized viaEPPEnvSingle
or one of its base classes.- Throws:
EPPCommandException
- Error initializingEPPApplication
-
endApplication
public void endApplication() throws EPPCommandException
Instance method responsible for Cleanup and termination of the EPPApplication.- Throws:
EPPCommandException
- Not currently thrown
-
-