ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentManager.java
Revision 1.44 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:50 2004 UTC (19 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +4 -4 lines
Diff to previous 1.43
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.43 - (view) (annotate) - [select for diffs]
Mon May 5 22:05:09 2003 UTC (21 years ago) by tdb
Branch: MAIN
Changes since 1.42: +37 -29 lines
Diff to previous 1.42
Tidy up of the client interface code - more commonly known as the
"right hand side of the server". Right since the start the filter
side of the server has been nice and tree like - every Filter sent
data to another Filter. At the top of the tree there was a "special"
Filter known as the RootFilter, which to the other Filters just
looked like a normal Filter. This was nice, and simple, and expandable.

The Client Interface on the other hand was messy. The root filter
had some hacky wrapper threads which pulled from a queue and pushed
to the relevant client interfaces (one for real time stuff, and the
other for databases). There was no simple room for expandability -
it was all hardwired to do just what was needed at the time.

This commit changes that. A Client Interface now connects to another
Client Interface, with a special one being found in the RootFilter
(yes, maybe that needs a name change now :-). So we can chain client
interfaces, and move other bits and bobs around in the server - for
example, alerting no longer needs to be connected to the Client
Interface, it can connect straight to the RootFilter (or, wherever
the config tells it ;).

Hopefully this sanitizes the underlying layout of the server a bit.

As a final note, I dropped the DBInterface. This used to insert
data in to a MySQL database. We've long since stopped using that,
and it's fallen behind and is way out of date. For now, it's gone
in to the attic.

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Feb 5 16:43:46 2003 UTC (21 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
Changed the server to use the external util package. Quite a minor change,
but does affect a lot of files.

Revision 1.41 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:17 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40
Added URL to GPL headers.

Revision 1.40 - (view) (annotate) - [select for diffs]
Sat May 18 18:16:01 2002 UTC (21 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.39: +21 -2 lines
Diff to previous 1.39
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.39 - (view) (annotate) - [select for diffs]
Wed Mar 20 13:40:29 2002 UTC (22 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.38: +27 -6 lines
Diff to previous 1.38
FilterManager's can now have their own individual configurations. I want to
run more than one, and I want them to have different setups. Specifying a
name for a FilterManager is similar to that of a Filter. There is a "-fm"
flag to the startup which allows you to set it. It will then request a
configuration of "FilterManager.<name>".

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue May 29 17:02:34 2001 UTC (22 years, 11 months ago) by tdb
Branch: MAIN
Branch point for: SERVER_PIRCBOT
Changes since 1.37: +18 -18 lines
Diff to previous 1.37
Major change in the java package naming. This has been held off for some time
now, but it really needed doing. The future packaging of all i-scream products
will be;

uk.org.iscream.<product>.<subpart>.*

In the case of the central monitoring system server this will be;

uk.org.iscream.cms.server.*

The whole server has been changed to follow this structure, and tested to a
smallish extent. Further changes in other parts of the CMS will follow.

Revision 1.37 - (view) (annotate) - [select for diffs]
Mon Mar 19 19:14:25 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.36: +4 -4 lines
Diff to previous 1.36
Changed a funny character (c) to a plain text (c).

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Mar 19 03:36:18 2001 UTC (23 years, 1 month ago) by ajm
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35
A minor yet important change ;-)

Revision 1.35 - (view) (annotate) - [select for diffs]
Sat Mar 17 03:57:58 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.34: +4 -3 lines
Diff to previous 1.34
Slightly more accurate output.

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Mar 14 23:25:29 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.33: +18 -18 lines
Diff to previous 1.33
The whole server package structure has been changed.
Old Package: uk.ac.ukc.iscream.*
New Package: uk.org.iscream.*

Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Mar 14 01:34:25 2001 UTC (23 years, 1 month ago) by tdb
Branch: MAIN
Changes since 1.32: +30 -26 lines
Diff to previous 1.32
New dependency checking. The old method was to attempt to start a Component, and
if it failed, it probably had a depdency problem. The approach now is to ask the
Component to perform a dependency check first, then if this suceeds, have a go
at actually starting it up.
The actual dependency check is a bit neater and more precise than before, and
should be much more fool proof. The order the components are specified in the
default.properties file is now irrelevant, although the "correct" order would
certainly increase booting time.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Mar 1 16:49:49 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.31: +22 -17 lines
Diff to previous 1.31
Fixed problems with needing attributes to pass components to the startUp() method.

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Mar 1 16:36:52 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.30: +31 -7 lines
Diff to previous 1.30
Now detects loss of CORBA comms and restarts...hopefully ;)

Revision 1.30 - (view) (annotate) - [select for diffs]
Sun Feb 25 21:00:37 2001 UTC (23 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.29: +4 -2 lines
Diff to previous 1.29
Added starting of the local client.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Feb 23 18:07:07 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28
better config handling for the timeout

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Feb 23 18:03:20 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
bug fixes

Revision 1.27 - (view) (annotate) - [select for diffs]
Fri Feb 23 18:02:33 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26
bug fixes

Revision 1.26 - (view) (annotate) - [select for diffs]
Fri Feb 23 18:01:41 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25
bug fixes

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Feb 23 18:00:29 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.24: +5 -4 lines
Diff to previous 1.24
debug code added

Revision 1.24 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:56:25 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23
small changes to logging

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:48:36 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
bug fix

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:47:21 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.21: +45 -7 lines
Diff to previous 1.21
commented new code, and added support for setting the component start timeout

Revision 1.21 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:23:36 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
bug fix

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:21:22 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
bug fix

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:16:43 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18
fixed concurrent modification exception

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:38:03 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17
bug fixes

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:36:38 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.16: +7 -3 lines
Diff to previous 1.16
bug fixes

Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:35:23 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
bug fixes

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:34:26 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
bug fixes

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:30:37 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.13: +10 -10 lines
Diff to previous 1.13
bug fixes

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Feb 23 16:26:14 2001 UTC (23 years, 2 months ago) by ajm
Branch: MAIN
Changes since 1.12: +33 -6 lines
Diff to previous 1.12
initial support for CORBA retries

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Jan 28 05:49:18 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11
I can't count it seems !

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Jan 28 05:14:46 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.10: +15 -15 lines
Diff to previous 1.10
Been meaning to tidy this bit for some time. Now handles the command line
arguments better, and supports them all :-)

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Jan 18 23:22:22 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9
Changes to reflect move of Component, ComponentStartException, and the
ReferenceManager from util to componentmanager.

Revision 1.9 - (view) (annotate) - [select for diffs]
Thu Jan 18 23:01:50 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8
Changes to reflect move of Component, ComponentStartException, and the
ReferenceManager from util to componentmanager.

Revision 1.8 - (view) (annotate) - [select for diffs]
Mon Jan 8 13:07:48 2001 UTC (23 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7
Little change in the help message.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Dec 13 13:37:45 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.6: +5 -2 lines
Diff to previous 1.6
no supports Filter component

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Dec 13 12:58:03 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5
now supports the clientinterface component

Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Dec 12 20:45:56 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4
now supports dbinterface component

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Dec 12 19:56:52 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3
supports root filter now

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Dec 12 19:16:27 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.2: +8 -6 lines
Diff to previous 1.2
now supports FilterManager

Revision 1.2 - (view) (annotate) - [select for diffs]
Tue Dec 12 18:25:18 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
Changes since 1.1: +33 -19 lines
Diff to previous 1.1
tidied up the code

Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Dec 11 16:41:33 2000 UTC (23 years, 4 months ago) by ajm
Branch: MAIN
initial checkin

This componentmanager will be the way of starting the system
Currently only the core component is supported

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a