Hi, I am trying to build a web based JMX monitoring and management console using adobe FLEX on the client side. This is similar to the flex admin that comes with the LiveCycle installation.I have put snapshots of both flex admin and my tool in the link below.
http://picasaweb.google.com/goutham.pulluri/FlexPics In these pictures you would see that there is a tree control in both applications. Now the data provider for the tree control in my application is an XML(see below) assigned using the HttpService. Now everytime something changes on the MBeanserver I want to update the tree. But simply reassigning the data provider would cause the tree to collapse. Is there a way I could dynamically update the nodes without reassiging the data provider? Please let me know any solution you might think of. I was thinking that I may have to write my own control instead of using the tree control .. i dont know how to do it though. Any inputs are welcome. **** Also if anyone knows how the flex-admin is actually implemented please share that info with me *** Thanks in advance Goutham <?xml version="1.0" encoding="UTF-8"?> <centralmbeanserver> <element label = "FMC-DropCopies-QA" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA" > <element label = "Cache Manager" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager" > <element label = "SACFixFilterRulesCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFixFilterRulesCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 68*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFixFilterRules*Keys = [ExecTransType, OrdStatus]*RowCount = 34" > </element> <element label = "SACFIXExecBrokerMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFIXExecBrokerMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 1562*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFIXExecBrokerMap*Keys = [TradeSource, TSExecBroker]*RowCount = 781" > </element> <element label = "SACFixIssueMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFixIssueMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 8506*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFixIssueMap*Keys = [SourceIssueID]*RowCount = 8506" > </element> <element label = "SACFIXNEOVAcctFilterCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFIXNEOVAcctFilterCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 1*DBPoolName = FMCDBPoolSACFixFeed*DBStatementName = GetSACFIXNEOVAcctFilterCache*Keys = [Account]*RowCount = 1" > </element> <element label = "SACFixFutureDetailsCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFixFutureDetailsCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 8498*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFixFutureDetails*Keys = [SourceIssueID]*RowCount = 8498" > </element> <element label = "SACAccountDetailCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACAccountDetailCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 236184*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACAccountDetail*Keys = [TradeSource, Account]*RowCount = 118092" > </element> <element label = "SACCommRateDefaultMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACCommRateDefaultMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 944*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACCommRateDefaultMap*Keys = [Broker, CommType]*RowCount = 472" > </element> <element label = "SACIssueCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACIssueCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 66568*DBPoolName = FMCDBPoolInterfaces*DBStatementName = GetSACIssue*Keys = [IssueID]*RowCount = 66568" > </element> <element label = "SACFMCConfigCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFMCConfigCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 196*DBPoolName = FMCDBPoolSACFixFeedDev*DBStatementName = GetSACFMCConfig*Keys = [SenderCompID, TargetCompID]*RowCount = 98" > </element> <element label = "SACFixTradeSourceConfigCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFixTradeSourceConfigCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 704*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFixTradeSourceConfig*Keys = [TradeSource]*RowCount = 704" > </element> <element label = "FUTCommRateDefaultMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=FUTCommRateDefaultMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 610*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetFUTCommRateDefaultMap*Keys = [Broker, Issue]*RowCount = 305" > </element> <element label = "PruOneWayAccountsCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=PruOneWayAccountsCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 36*DBPoolName = FMCDBPoolSACFixFeed*DBStatementName = GetPruOneWayAccounts*Keys = [Account]*RowCount = 36" > </element> <element label = "SACCommTypeCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACCommTypeCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 69*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACCommType*Keys = [Broker, Currency, IssueType]*RowCount = 23" > </element> <element label = "SACSECFeeCalendarCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACSECFeeCalendarCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 1*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACSECFeeCalendarCache*Keys = [FeeFactor]*RowCount = 1" > </element> <element label = "FUTOptCommRateDefaultMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=FUTOptCommRateDefaultMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 18*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetFUTOPTCommRateDefaultMapCache*Keys = [Broker, Issue]*RowCount = 9" > </element> <element label = "GetFMCProcessedTradesForOrbitTMinus1Cache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies- QA,Componet=Cache Manager,DB Cache=GetFMCProcessedTradesForOrbitTMinus1Cache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 0*DBPoolName = FMCDBPoolSACFixFeed*DBStatementName = GetFMCProcessedTradesForOrbitTMinus1*Keys = [TradeSource, ExecID] *RowCount = 0" > </element> <element label = "OptCommRateDefaultMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=OptCommRateDefaultMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 8*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetOPTCommRateDefaultMapCache*Keys = [Broker]*RowCount = 8" > </element> <element label = "SACCommRateTraderMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACCommRateTraderMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 2121*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACCommRateTraderMap*Keys = [TradingAreaID, Broker, CommType] *RowCount = 707" > </element> <element label = "SACFIXSideMapCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFIXSideMapCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 6*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACFIXSideMap*Keys = [FIXSide]*RowCount = 6" > </element> <element label = "SACTradeSrcCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACTradeSrcCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 1820*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetSACTradeSrc*Keys = [TradeSource, UseExternalID]*RowCount = 910" > </element> <element label = "FMCProcessedTradesForTMinus1Cache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=FMCProcessedTradesForTMinus1Cache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 13036*DBPoolName = FMCDBPoolSACFixFeed*DBStatementName = GetFMCProcessedTradesForTMinus1*Keys = [TradeSource, ExecID] *RowCount = 6518" > </element> <element label = "SACFIXAcctTransCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=SACFIXAcctTransCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 6806*DBPoolName = FMCDBPoolSACFixFeed*DBStatementName = GetSACFIXAcctTrans*Keys = [TradeSource, ExternalID]*RowCount = 3403" > </element> <element label = "FIXExecTransTypeCache" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Cache Manager,DB Cache=FIXExecTransTypeCache" operations = "reloadDBCache:java.lang.String" attributes = "ValueCount = 4*DBPoolName = FMCDBPoolSACTrades*DBStatementName = GetFIXExecTransType*Keys = [FIXValue]*RowCount = 4" > </element> </element> <element label = "Source Manager" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager" operations = "enableAllMsgSources:void*disableAllMsgSources:void*listMsgSourceNa mes:java.util.List*reloadSources:void" attributes = "DisabledMsgSourceNames = [Replay, CS-SACFIX1-SS, ESpeed-SS, CS- SACFIX6-SS, Orbit-SS, QA-Adapter, CS-SACFIX3-SS, BARX-SS, TestTradesAdapter, QA-Adapter-RAM, CS-SACFIX2-SS]" > <element label = "CS-SACFIX6-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=CS-SACFIX6-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs- devfmc02*Enabled = false*SessionType = Normal Logon*name = CS- SACFIX6-SS*port = 10024" > </element> <element label = "QA-Adapter-RAM" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=QA-Adapter-RAM" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = rampradeepp- pc1*Enabled = false*SessionType = Normal Logon*name = QA-Adapter- RAM*port = 9990" > </element> <element label = "CS-SACFIX1-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=CS-SACFIX1-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs- devfmc02*Enabled = false*SessionType = Normal Logon*name = CS- SACFIX1-SS*port = 10022" > </element> <element label = "Orbit-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=Orbit-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs-devfmc02*Enabled = false*SessionType = Normal Logon*name = Orbit-SS*port = 10021" > </element> <element label = "ESpeed-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=ESpeed-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs-devfmc02*Enabled = false*SessionType = Normal Logon*name = ESpeed-SS*port = 10027" > </element> <element label = "BARX-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=BARX-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs-devfmc02*Enabled = false*SessionType = Normal Logon*name = BARX-SS*port = 10026" > </element> <element label = "QA-Adapter" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=QA-Adapter" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs-devfmc02*Enabled = false*SessionType = Normal Logon*name = QA-Adapter*port = 9990" > </element> <element label = "CS-SACFIX3-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=CS-SACFIX3-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs- devfmc02*Enabled = false*SessionType = Normal Logon*name = CS- SACFIX3-SS*port = 10025" > </element> <element label = "Replay" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=Replay" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = deves02*Enabled = false*SessionType = Normal Logon*name = Replay*port = 9992" > </element> <element label = "CS-SACFIX2-SS" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=CS-SACFIX2-SS" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs- devfmc02*Enabled = false*SessionType = Normal Logon*name = CS- SACFIX2-SS*port = 10023" > </element> <element label = "TestTradesAdapter" canonicalName = "CentralMBeanServer:App=FMC-DropCopies-QA,Componet=Source Manager,Msg Source=TestTradesAdapter" operations = "enableMsgSource:class java.lang.String*disableMsgSource:class java.lang.String" attributes = "LoggedOn = false*Connected = false*class = com.saccap.fmc.sources.SocketSource*host = cs- devfmc02*Enabled = false*SessionType = Explicit: [DROPCOPIES]*name = TestTradesAdapter*port = 10040" > </element> </element> </element> </centralmbeanserver>