68 |
|
_logger.write(toString(), Logger.SYSINIT, "configured"); |
69 |
|
|
70 |
|
// get reference to the client interfaces - the real time one |
71 |
< |
ClientInterface ciReal = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + realInterface)); |
71 |
> |
if (realInterface != null) { |
72 |
> |
ClientInterface ciReal = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + realInterface)); |
73 |
> |
} |
74 |
|
// get reference to the client interfaces - and the db one |
75 |
< |
ClientInterface ciDB = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + dbInterface)); |
76 |
< |
_logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + realInterface + " & " + dbInterface); |
77 |
< |
|
78 |
< |
ClientInterface[] clientInterfaces = {ciReal, ciDB}; |
75 |
> |
if (dbInterface != null) { |
76 |
> |
ClientInterface ciDB = ClientInterfaceHelper.narrow(_refman.getCORBARef("iscream.ClientInterface." + dbInterface)); |
77 |
> |
} |
78 |
> |
|
79 |
> |
ClientInterface[] clientInterfaces; |
80 |
> |
if (realInterface == null) { |
81 |
> |
_logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + dbInterface); |
82 |
> |
clientInterfaces = {ciDB}; |
83 |
> |
} else if (dbInterface == null) { |
84 |
> |
_logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + realInterface); |
85 |
> |
clientInterfaces = {ciReal}; |
86 |
> |
} else { |
87 |
> |
_logger.write(toString(), Logger.DEBUG, "hooked to interfaces - " + realInterface + " & " + dbInterface); |
88 |
> |
clientInterfaces = {ciReal, ciDB}; |
89 |
> |
} |
90 |
|
|
91 |
|
// RootFilterServant start (for inbound child filter data) |
92 |
|
_logger.write(toString(), Logger.DEBUG, "starting Root Filter"); |