Lines 1164-1178
Link Here
|
1164 |
public abstract ISubSystem createSubSystemInternal(IHost conn); |
1164 |
public abstract ISubSystem createSubSystemInternal(IHost conn); |
1165 |
|
1165 |
|
1166 |
/** |
1166 |
/** |
1167 |
* <i>Overridable</i> method to initialize subsystems after creation. The default behaviour here is to |
1167 |
* Initialize subsystems after creation (<i>Overridable</i>). |
1168 |
* set the subsystem's port property to 0, and to add to it a reference to the default filter pool for this |
1168 |
* The default behavior is to add a reference to the default filter pool for this subsystem configuration, |
1169 |
* subsystem configuration, if there is one. Typically subclasses call <samp>super().initializeSubSystem(...)</samp> |
1169 |
* if there is one. Typically subclasses call <samp>super().initializeSubSystem(...)</samp> |
1170 |
* to get this default behaviour, then extend it. |
1170 |
* to get this default behavior, then extend it. |
1171 |
* |
1171 |
* |
1172 |
* <p>The reason for the connect wizard pages parm is in case your subsystem configuration contributes a page to that wizard, |
1172 |
* <p>The reason for the connect wizard pages parameter is in case your subsystem configuration contributes a page to that wizard, |
1173 |
* whose values are needed to set the subsystem's initial state. For example, you might decide to add a |
1173 |
* whose values are needed to set the subsystem's initial state. For example, you might decide to add a |
1174 |
* page to the connection wizard to prompt for a JDBC Driver name. If so, when this method is called at |
1174 |
* page to the connection wizard to prompt for a JDBC Driver name. If so, when this method is called at |
1175 |
* the time a new connection is created apres the wizard, your page will have the user's value. You can |
1175 |
* the time a new connection is created after the wizard, your page will have the user's value. You can |
1176 |
* thus use it here to initialize that subsystem property. Be use to use instanceof to find your particular |
1176 |
* thus use it here to initialize that subsystem property. Be use to use instanceof to find your particular |
1177 |
* page. |
1177 |
* page. |
1178 |
* </p> |
1178 |
* </p> |
Lines 1187-1197
Link Here
|
1187 |
*/ |
1187 |
*/ |
1188 |
protected void initializeSubSystem(ISubSystem ss, ISystemNewConnectionWizardPage[] yourNewConnectionWizardPages) |
1188 |
protected void initializeSubSystem(ISubSystem ss, ISystemNewConnectionWizardPage[] yourNewConnectionWizardPages) |
1189 |
{ |
1189 |
{ |
1190 |
IConnectorService connectorService = ss.getConnectorService(); |
|
|
1191 |
if (connectorService != null) |
1192 |
{ |
1193 |
connectorService.setPort(0); |
1194 |
} |
1195 |
if (supportsFilters()) |
1190 |
if (supportsFilters()) |
1196 |
{ |
1191 |
{ |
1197 |
// -------------------------------------------- |
1192 |
// -------------------------------------------- |