Class AbstractDynamoDbConnectJunit

    • Method Detail

      • getAmazonDynamoDb

        public com.amazonaws.services.dynamodbv2.AmazonDynamoDB getAmazonDynamoDb()
        Obtains the AmazonDynamoDB.
        Returns:
        AmazonDynamoDB.
      • getDynamoDbMapper

        public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper getDynamoDbMapper()
        Obtains the DynamoDBMapper.
        Returns:
        DynamoDBMapper.
      • getDynamoDbPort

        protected int getDynamoDbPort()
        Obtains the DynamoDb port.
        Returns:
        DynamoDb port.
      • startAmazonDynamoDb

        protected void startAmazonDynamoDb()
                                    throws java.lang.Exception
        Starts the AmazonDynamoDB locally.
        Throws:
        java.lang.Exception - If fails to start.
      • extendStart

        protected void extendStart()
                            throws java.lang.Exception
        Allows overriding to extend starting.
        Throws:
        java.lang.Exception - Possible start failure.
      • stopAmazonDynamoDb

        protected void stopAmazonDynamoDb()
                                   throws java.lang.Exception
        Stops AmazonDynamoDB.
        Throws:
        java.lang.Exception - If fails to stop.
      • extendStop

        protected void extendStop()
                           throws java.lang.Exception
        Allows overriding to extend stop.
        Throws:
        java.lang.Exception - Possible start failure.