当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
MbeanInfoDbPm (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
org.jboss.mx.persistence
Class MbeanInfoDbPm
java.lang.Object
org.jboss.mx.persistence.MBeanInfoOdb
org.jboss.mx.persistence.MbeanInfoDbPm
- All Implemented Interfaces:
- PersistenceManager
- public class MbeanInfoDbPm
- extends MBeanInfoOdb
- implements PersistenceManager
Class responsible for storing and loading the MBean info database.
- Author:
- Matt Munz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fLoadedFromFs
protected boolean fLoadedFromFs
fNamesToRestore
protected Vector fNamesToRestore
fInfosToRestore
protected Vector fInfosToRestore
fMbeanServer
protected MBeanServer fMbeanServer
fMbeanInfoDb
protected MbeanInfoDb fMbeanInfoDb
fMbiDbRoot
protected File fMbiDbRoot
MbeanInfoDbPm
public MbeanInfoDbPm()
load
public void load(ModelMBeanInvoker mbean,
MBeanInfo info)
throws MBeanException
- Specified by:
load
in interface PersistenceManager
- Throws:
MBeanException
store
public void store(MBeanInfo info)
throws MBeanException
- Specified by:
store
in interface PersistenceManager
- Throws:
MBeanException
store
protected void store(ObjectName name,
MBeanInfo info)
throws IOException
- Throws:
IOException
register
protected void register()
throws JMException,
InvalidTargetObjectTypeException
- Iterates over the loaded MBean infos and ObjectNames, creates an MBean for each, and
registers it with the server. This includes creating the resource object as well.
- Throws:
JMException
InvalidTargetObjectTypeException
getMBeanServer
protected MBeanServer getMBeanServer()
throws JMException
- Throws:
JMException
replaceAll
protected String replaceAll(String object,
String target,
String replacement)
- JDK 1.3.1 substitute for jdk 1.4.1 String.replaceAll()
Does not accept regular expressions...
returns the object string where all instances of target are replaced with replacement
replaceAll
protected String replaceAll(String object,
String target,
String replacement,
int curIndex)
- Iterative
objNameSeparator
protected String objNameSeparator()
objNameSepRep
protected String objNameSepRep()
fileName
protected String fileName(ObjectName name)
objectName
protected ObjectName objectName(File fileName)
throws MalformedObjectNameException
- Throws:
MalformedObjectNameException
loadedFromFs
protected boolean loadedFromFs()
setLoadedFromFs
protected void setLoadedFromFs(boolean newLoadedFromFs)
namesToRestore
protected Vector namesToRestore()
infosToRestore
protected Vector infosToRestore()
mbiDbRoot
protected File mbiDbRoot()
setMbiDbRoot
protected void setMbiDbRoot(File newMbiDbRoot)
mbeanInfoDb
protected MbeanInfoDb mbeanInfoDb()
setMbeanInfoDb
protected void setMbeanInfoDb(MbeanInfoDb newMbeanInfoDb)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.