org.jboss.mx.persistence
Class MbeanInfoDbPm
java.lang.Object
org.jboss.mx.persistence.MBeanInfoOdb (src)
org.jboss.mx.persistence.MbeanInfoDbPm
- All Implemented Interfaces:
- PersistenceManager (src)
- public class MbeanInfoDbPm
- extends MBeanInfoOdb (src)
- implements PersistenceManager (src)
Class responsible for storing and loading the MBean info database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fLoadedFromFs
protected boolean fLoadedFromFs
fNamesToRestore
protected java.util.Vector fNamesToRestore
fInfosToRestore
protected java.util.Vector fInfosToRestore
fMbeanServer
protected MBeanServer (src) fMbeanServer
fMbeanInfoDb
protected MbeanInfoDb (src) fMbeanInfoDb
fMbiDbRoot
protected java.io.File fMbiDbRoot
MbeanInfoDbPm
public MbeanInfoDbPm()
load
public void load(ModelMBeanInvoker (src) mbean,
MBeanInfo (src) info)
throws MBeanException (src)
- Specified by:
load
in interface PersistenceManager (src)
- Throws:
MBeanException (src)
store
public void store(MBeanInfo (src) info)
throws MBeanException (src)
- Specified by:
store
in interface PersistenceManager (src)
- Throws:
MBeanException (src)
store
protected void store(ObjectName (src) name,
MBeanInfo (src) info)
throws java.io.IOException
- Throws:
java.io.IOException
register
protected void register()
throws JMException (src) ,
InvalidTargetObjectTypeException (src)
- 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 (src)
InvalidTargetObjectTypeException (src)
getMBeanServer
protected MBeanServer (src) getMBeanServer()
throws JMException (src)
- Throws:
JMException (src)
replaceAll
protected java.lang.String replaceAll(java.lang.String object,
java.lang.String target,
java.lang.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 java.lang.String replaceAll(java.lang.String object,
java.lang.String target,
java.lang.String replacement,
int curIndex)
- Iterative
objNameSeparator
protected java.lang.String objNameSeparator()
objNameSepRep
protected java.lang.String objNameSepRep()
fileName
protected java.lang.String fileName(ObjectName (src) name)
objectName
protected ObjectName (src) objectName(java.io.File fileName)
throws MalformedObjectNameException (src)
- Throws:
MalformedObjectNameException (src)
loadedFromFs
protected boolean loadedFromFs()
setLoadedFromFs
protected void setLoadedFromFs(boolean newLoadedFromFs)
namesToRestore
protected java.util.Vector namesToRestore()
infosToRestore
protected java.util.Vector infosToRestore()
mbiDbRoot
protected java.io.File mbiDbRoot()
setMbiDbRoot
protected void setMbiDbRoot(java.io.File newMbiDbRoot)
mbeanInfoDb
protected MbeanInfoDb (src) mbeanInfoDb()
setMbeanInfoDb
protected void setMbeanInfoDb(MbeanInfoDb (src) newMbeanInfoDb)