站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

Refreshable (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.aop.target.dynamic
Interface Refreshable

All Known Implementing Classes:
AbstractRefreshableTargetSource, BeanFactoryRefreshableTargetSource, RefreshableScriptTargetSource

public interface Refreshable

Interface to be implemented by dynamic target objects, which support reloading and optionally polling for updates.

Since:
2.0
Author:
Rod Johnson, Rob Harrop

Method Summary
 long getLastRefreshTime()
          Return the last time an actual refresh happened (as timestamp).
 long getRefreshCount()
          Return the number of actual refreshes since startup.
 void refresh()
          Refresh the underlying target object.
 

Method Detail

refresh

void refresh()
Refresh the underlying target object.


getRefreshCount

long getRefreshCount()
Return the number of actual refreshes since startup.


getLastRefreshTime

long getLastRefreshTime()
Return the last time an actual refresh happened (as timestamp).


The Spring Framework

Copyright © 2002-2007 The Spring Framework.