public abstract class DynamicProfileReloader extends Object
Modifier and Type | Field and Description |
---|---|
protected FileUpdateNotificationHandler |
fileUpdateNotificationHandler |
Constructor and Description |
---|
DynamicProfileReloader() |
Modifier and Type | Method and Description |
---|---|
protected 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
|
String |
getClassName(String completeClassName)
Get actual class name from comprehensive class name
|
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(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 String getFilePath()
public void setFilePath(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 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 configurationCopyright © 2005–2018 Apache Software Foundation. All rights reserved.