Package org.cdlib.mrt.utility
Class TFrameInit
java.lang.Object
org.cdlib.mrt.utility.TFrameInit
Using ServletConfig initialize TFRame for properties extraction
- Author:
- dloy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTFrameInit
(javax.servlet.ServletConfig servletConfig, String serviceName) Check InitParameters from web.xml to discover Properties files then build TFrame properties resolver -
Method Summary
Modifier and TypeMethodDescriptionreturn loggerReturn the TFrame property resolverprotected void
instantiateTFrame
(String[] propertyFiles, String serviceName) Instantiat TFrame objectprotected void
Call back routine for local object initialization
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
tFrame
-
logger
-
-
Constructor Details
-
TFrameInit
Check InitParameters from web.xml to discover Properties files then build TFrame properties resolver- Parameters:
servletConfig
- servlet configuration objectserviceName
- name of service for logging display- Throws:
TException
-
-
Method Details
-
getLogger
return logger- Returns:
- logger
-
getTFrame
Return the TFrame property resolver- Returns:
- TFrame
-
instantiateTFrame
Instantiat TFrame object- Parameters:
propertyFiles
- properties files resolved in order of String arrayserviceName
- logger display serviceName- Throws:
TException
-
localInit
protected void localInit()Call back routine for local object initialization
-