60 |
|
* @return a boolean value, true if the depdencies are satisfied |
61 |
|
*/ |
62 |
|
public boolean depCheck() { |
63 |
< |
// no real dependencies |
64 |
< |
// although it will require Filter's, but these cannot |
65 |
< |
// be predicted at this stage |
63 |
> |
// This also depends on Filters.. but only when requested. |
64 |
> |
// I believe the code is in place to handle that elsewhere. |
65 |
> |
try { |
66 |
> |
org.omg.CORBA.Object obj; |
67 |
> |
obj = _refman.getCORBARef("iscream.Logger"); |
68 |
> |
obj = _refman.getCORBARef("iscream.ConfigurationManager"); |
69 |
> |
} catch(ComponentCORBAException e) { |
70 |
> |
System.err.println(toString() + ": Dependency Failure: "+e); |
71 |
> |
return false; |
72 |
> |
} |
73 |
> |
// dependency check suceeded |
74 |
|
return true; |
75 |
|
} |
76 |
|
|