public abstract class DynamicProfileReloader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FileUpdateNotificationHandler |
fileUpdateNotificationHandler |
Constructor and Description |
---|
DynamicProfileReloader() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
extractConfigurationFilePath(org.apache.axis2.description.ParameterInclude transportOut)
Set the configuration file path from custom SSL config
|
protected long |
extractSleepInterval(org.apache.axis2.description.ParameterInclude transportOut)
Set SSL Profile configuration loading interval from Axis2 config
|
java.lang.String |
getClassName(java.lang.String completeClassName)
Get actual class name from comprehensive class name
|
java.lang.String |
getFilePath()
Returns File Path of the dynamic SSL profiles
|
long |
getLastUpdatedtime()
Returns Last Updated Time of the File
|
boolean |
isInvokedFromSchedule()
Check whether the file is invoked from scheduled task
|
abstract void |
notifyFileUpdate(boolean isScheduled) |
protected boolean |
registerListener(org.apache.axis2.description.ParameterInclude transportDescription)
Register this Profile Loader in FileUpdateNotificationHandler for notifications
|
void |
setFilePath(java.lang.String filePath)
Set file path
|
void |
setInvokedFromSchedule(boolean invokedFromSchedule)
Set whether the file is invoked from schedule
|
void |
setLastUpdatedtime(long lastUpdatedtime)
Set Last Updated time of the file
|
protected FileUpdateNotificationHandler fileUpdateNotificationHandler
public abstract void notifyFileUpdate(boolean isScheduled)
public long getLastUpdatedtime()
public java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
filePath
- String file pathpublic void setLastUpdatedtime(long lastUpdatedtime)
lastUpdatedtime
- Long time in millisecondspublic boolean isInvokedFromSchedule()
public void setInvokedFromSchedule(boolean invokedFromSchedule)
invokedFromSchedule
- true if invoked from schedule, false otherwiseprotected java.lang.String extractConfigurationFilePath(org.apache.axis2.description.ParameterInclude transportOut)
transportOut
- TransportOutDescription of the configurationprotected long extractSleepInterval(org.apache.axis2.description.ParameterInclude transportOut)
transportOut
- TransportOutDescription of the configurationprotected boolean registerListener(org.apache.axis2.description.ParameterInclude transportDescription)
transportDescription
- Transport In/Out Description of the configurationpublic java.lang.String getClassName(java.lang.String completeClassName)
completeClassName
- complete class name StringCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.