connectionDefinition.setConnectionfactoryInterface("resource-connector-resourceadapter-outbound-connectiondefinition-interface");
ConnectiondefinitionInstance connectionDefinitionInstance = connectorFactory.createConnectiondefinitionInstance();
connectionDefinitionInstance.setName("resource-connector-resourceadapter-outbound-connectiondefinition-instance-name");
connectionDefinitionInstance.getImplementedInterface().add("resource-connector-resourceadapter-outbound-connectiondefinition-instance-implementedinterface");
Connectionmanager connectionManager = connectorFactory.createConnectionmanager();
Empty empty = connectorFactory.createEmpty();
connectionManager.setContainerManagedSecurity(empty);
connectionManager.setLocalTransaction(empty);
connectionManager.setNoPool(empty);
connectionManager.setNoTransaction(empty);
connectionManager.setTransactionLog(empty);