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.ObjectThis 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 voidendApplication()Instance method responsible for Cleanup and termination of the EPPApplication.voidinitialize()InitializingEPPApplicationafter the configuration has been already initialized viaEPPEnvSingleor one of its base classes.voidinitialize(java.lang.String aConfigFile)InitializeEPPApplicationusing the passed in configuration file.voidinitialize(java.lang.String aConfigFile, java.lang.ClassLoader aClassLoader)InitializeEPPApplicationusing the passed in configuration file andClassLoader.voidinitialize(java.util.Properties aProperties)InitializeEPPApplicationusing the passed inPropertiesobject.
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String aConfigFile, java.lang.ClassLoader aClassLoader) throws EPPCommandExceptionInitializeEPPApplicationusing the passed in configuration file andClassLoader.- Parameters:
aConfigFile- Configuration file name to initializeEPPApplicationwith.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 EPPCommandExceptionInitializeEPPApplicationusing the passed inPropertiesobject.- Parameters:
aProperties- EPP configuration properties to initializeEPPApplicationwith.- Throws:
EPPCommandException- Error initializing with the properties
-
initialize
public void initialize(java.lang.String aConfigFile) throws EPPCommandExceptionInitializeEPPApplicationusing the passed in configuration file.- Parameters:
aConfigFile- Configuration file name to initializeEPPApplicationwith.- Throws:
EPPCommandException- Error initializing with the configuration file
-
initialize
public void initialize() throws EPPCommandExceptionInitializingEPPApplicationafter the configuration has been already initialized viaEPPEnvSingleor one of its base classes.- Throws:
EPPCommandException- Error initializingEPPApplication
-
endApplication
public void endApplication() throws EPPCommandExceptionInstance method responsible for Cleanup and termination of the EPPApplication.- Throws:
EPPCommandException- Not currently thrown
-
-