> + > + @Resource > + @Named(ComputeServiceConstants.COMPUTE_LOGGER) > + protected Logger logger = Logger.NULL; > + > + protected ProfitBricksApi pbApi; > + protected Function<Template, CreateServerRequest> templateToServer; > + > + private final Predicate<String> vdcWaitingPredicate; > + private final LoginCredentials defaultCredentials = > LoginCredentials.builder() > + .identity("root") > + .credential("apachejcrauds") > + .build(); > + > + @Inject > + public PBComputeServiceAdapter(ProfitBricksApi pbApi, Function<Template, > CreateServerRequest> templateToServer) {
note. Make all your Inject constructors package private. then, you don't need to check null as only guice (or some later injector) will use them. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/72/files#r19648465