Before we go down the road of developing Avalon.NET container and framework,
I would like to find out how .NET handles certain things. For example, in
Java we have JMX (Java Management Extensions) which *can* (though not
necessarily) connect to SNMP consoles.
One of the things I would like us to answer is what is the fundamental difference between a .NET component and an Avalon component? I can answer questions all day about Avalon components, but I am sketchy on the details of .NET components.
What management functions/instrumentation options does .NET provide? For example, can we plug in to the Microsoft Management Console?
What other .NET goodies would apply?
While some of these are long term (like management), others affect how much we want to simply use vs. invent.
After a quick scan to get more info on the System.IDisposable interface, I stumbled accross the System.ComponentModel stuff.
I believe we can keep using the System.IDisposable interface without issue. I was quite surprised that there is no System.IInitializable interface considering all the classes that define the Initialize() method.
Anyway, a quick rundown of what M$ has done for the ComponentModel:
THere are a series of interfaces (I always check these first):
IComponent --> Can be applicable, although not quite sure if it should be required yet. There are some things I am not convinced on yet.
IContainer --> Can be as simple as a List. Allows you to add components
bound to a specific name, etc. It seems very collections-like.ICustomTypeDescriptor --> Bears looking into. It might be a good thing/pattern
to leverage.IExtenderProvider --> Allows you to define a provider to extend components.
ISite --> A container/component mapping. Holds a name and any component
specific info. Assumes integration with IComponent and IContainer.ISupportInitialize --> A pre/post initialize adaptor. Kind of like an
interceptor for initialization.ISynchronizeInvoke --> Provides interface for synchronous or asynchronous
delegator invocation. Very promising.ITypeDescriptorContext --> Not exactly sure what it does. It doesn't seem
to represent what I originally thought it did.Anyway, we may just as well be barking up the wrong tree with these.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
