commit adapter config, and adapter java class