/** * This method is required for 1.0 DTD so that there will be 1 instance of * ConnectionDefDescriptor available * I know that this constructor will be called only when it is a 1.0 DD * dont want to rely on whether 1.0 or 1.5 spec version * So this method is called when the ConnectorNode knows that it is for 1.0 DTD */ public void createConDefDescriptorFor10() { ConnectionDefDescriptor conDef = new ConnectionDefDescriptor(); ((OutboundResourceAdapter)getDescriptor()).addConnectionDefDescriptor(conDef); }
/** * This method is required for 1.0 DTD so that there will be 1 instance of * ConnectionDefDescriptor available * I know that this constructor will be called only when it is a 1.0 DD * dont want to rely on whether 1.0 or 1.5 spec version * So this method is called when the ConnectorNode knows that it is for 1.0 DTD */ public void createConDefDescriptorFor10() { ConnectionDefDescriptor conDef = new ConnectionDefDescriptor(); ((OutboundResourceAdapter)getDescriptor()).addConnectionDefDescriptor(conDef); }
ConnectionDefDescriptor cdd = new ConnectionDefDescriptor(); cdd.setConnectionFactoryImpl(connDefn.connectionFactoryImpl().getName()); cdd.setConnectionFactoryIntf(connDefn.connectionFactory().getName());