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

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


The Spring Framework

org.springframework.jmx.export.metadata
Class ManagedResource

java.lang.Object
  extended by org.springframework.jmx.export.metadata.AbstractJmxAttribute
      extended by org.springframework.jmx.export.metadata.ManagedResource

public class ManagedResource
extends AbstractJmxAttribute

Metadata indicating that instances of an annotated class are to be registered with a JMX server. Only valid when used on a Class.

Since:
1.2
Author:
Rob Harrop
See Also:
MetadataMBeanInfoAssembler, MetadataNamingStrategy, MBeanExporter

Constructor Summary
ManagedResource()
           
 
Method Summary
 String getLogFile()
           
 String getObjectName()
           
 String getPersistLocation()
           
 String getPersistName()
           
 int getPersistPeriod()
           
 String getPersistPolicy()
           
 boolean isLog()
           
 void setLog(boolean log)
           
 void setLogFile(String logFile)
           
 void setObjectName(String objectName)
           
 void setPersistLocation(String persistLocation)
           
 void setPersistName(String persistName)
           
 void setPersistPeriod(int persistPeriod)
           
 void setPersistPolicy(String persistPolicy)
           
 
Methods inherited from class org.springframework.jmx.export.metadata.AbstractJmxAttribute
getCurrencyTimeLimit, getDescription, setCurrencyTimeLimit, setDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedResource

public ManagedResource()
Method Detail

setObjectName

public void setObjectName(String objectName)

getObjectName

public String getObjectName()

setLog

public void setLog(boolean log)

isLog

public boolean isLog()

setLogFile

public void setLogFile(String logFile)

getLogFile

public String getLogFile()

setPersistPolicy

public void setPersistPolicy(String persistPolicy)

getPersistPolicy

public String getPersistPolicy()

setPersistPeriod

public void setPersistPeriod(int persistPeriod)

getPersistPeriod

public int getPersistPeriod()

setPersistName

public void setPersistName(String persistName)

getPersistName

public String getPersistName()

setPersistLocation

public void setPersistLocation(String persistLocation)

getPersistLocation

public String getPersistLocation()

The Spring Framework

Copyright © 2002-2007 The Spring Framework.